diff options
author | berkeviktor@aol.com <berkeviktor@aol.com> | 2010-11-14 23:13:48 +0100 |
---|---|---|
committer | berkeviktor@aol.com <berkeviktor@aol.com> | 2010-11-14 23:13:48 +0100 |
commit | c205b14721768dd1532915f8af10fbc3609d2c63 (patch) | |
tree | 01fc3aea098101665153f34f9b2a9c332b5c1444 | |
parent | 41c46911d1d982ac40506356f5d30467568eeb53 (diff) |
add minimal installation type
-rw-r--r-- | build/xchat-wdk.skel.iss | 3 | ||||
-rw-r--r-- | plugins/checksum/checksum.c | 6 |
2 files changed, 5 insertions, 4 deletions
diff --git a/build/xchat-wdk.skel.iss b/build/xchat-wdk.skel.iss index b4897185..8e0cb587 100644 --- a/build/xchat-wdk.skel.iss +++ b/build/xchat-wdk.skel.iss @@ -28,10 +28,11 @@ ArchitecturesInstallIn64BitMode=x64 [Types] Name: "normal"; Description: "Normal Installation" Name: "full"; Description: "Full Installation" +Name: "minimal"; Description: "Minimal Installation" Name: "custom"; Description: "Custom Installation"; Flags: iscustom [Components] -Name: "libs"; Description: "XChat-WDK"; Types: normal full custom; Flags: fixed +Name: "libs"; Description: "XChat-WDK"; Types: normal full minimal custom; Flags: fixed Name: "translations"; Description: "Translations"; Types: normal full custom; Flags: disablenouninstallwarning Name: "spelling"; Description: "Spelling Dictionaries"; Types: full custom; Flags: disablenouninstallwarning Name: "plugins"; Description: "Plugins"; Types: full custom; Flags: disablenouninstallwarning diff --git a/plugins/checksum/checksum.c b/plugins/checksum/checksum.c index 606159fc..9731876f 100644 --- a/plugins/checksum/checksum.c +++ b/plugins/checksum/checksum.c @@ -44,7 +44,7 @@ sha256_hash_string (unsigned char hash[SHA256_DIGEST_LENGTH], char outputBuffer[ int i; for (i = 0; i < SHA256_DIGEST_LENGTH; i++) { - sprintf(outputBuffer + (i * 2), "%02x", hash[i]); + sprintf (outputBuffer + (i * 2), "%02x", hash[i]); } outputBuffer[64] = 0; } @@ -104,7 +104,7 @@ sha256_file (char *path, char outputBuffer[65]) } int -dccrecv_cb(char *word[], void *userdata) +dccrecv_cb (char *word[], void *userdata) { char sum[65]; @@ -117,7 +117,7 @@ dccrecv_cb(char *word[], void *userdata) } int -dccoffer_cb(char *word[], void *userdata) +dccoffer_cb (char *word[], void *userdata) { char sum[65]; |