Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorwkendrick <wkendrick>2011-06-17 21:48:15 (GMT)
committer wkendrick <wkendrick>2011-06-17 21:48:15 (GMT)
commitab34668cb06de0b9266c4ef8005a22f1cbfcf33f (patch)
tree194ac00a31a409014c4f2144ff5d86c4e79baa0d
parent9996c67f2b86848a77c25cf1dc74c212e28b870e (diff)
Correcting localization setup issue when using OpenCandy. (Thx to OC Partner Support)
-rw-r--r--win32/tuxpaint.iss5
1 files changed, 1 insertions, 4 deletions
diff --git a/win32/tuxpaint.iss b/win32/tuxpaint.iss
index 6a1e68b..46f0c69 100644
--- a/win32/tuxpaint.iss
+++ b/win32/tuxpaint.iss
@@ -381,15 +381,12 @@ begin
end;
procedure InitializeWizard();
-#ifdef OpenCandy
-Var OCstrInstallerLanguage: String;
-#endif
begin
begin
CreateTheWizardPages;
end
#ifdef OpenCandy
- OCstrInstallerLanguage := Lang2Gettext();
+ OCtszInstallerLanguage := Lang2Gettext();
OpenCandyAsyncInit('{#OC_STR_MY_PRODUCT_NAME}', '{#OC_STR_KEY}', '{#OC_STR_SECRET}', OCtszInstallerLanguage, {#OC_INIT_MODE_NORMAL});
#endif
end;