From c205b14721768dd1532915f8af10fbc3609d2c63 Mon Sep 17 00:00:00 2001 From: "berkeviktor@aol.com" Date: Sun, 14 Nov 2010 23:13:48 +0100 Subject: [PATCH] add minimal installation type --- build/xchat-wdk.skel.iss | 3 ++- 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];