Correcting localization setup issue when using OpenCandy. (Thx to OC Partner Support)

This commit is contained in:
William Kendrick 2011-06-17 21:48:15 +00:00
parent 8cef9db16a
commit a44b27a479

View file

@ -381,15 +381,12 @@ begin
end; end;
procedure InitializeWizard(); procedure InitializeWizard();
#ifdef OpenCandy
Var OCstrInstallerLanguage: String;
#endif
begin begin
begin begin
CreateTheWizardPages; CreateTheWizardPages;
end end
#ifdef OpenCandy #ifdef OpenCandy
OCstrInstallerLanguage := Lang2Gettext(); OCtszInstallerLanguage := Lang2Gettext();
OpenCandyAsyncInit('{#OC_STR_MY_PRODUCT_NAME}', '{#OC_STR_KEY}', '{#OC_STR_SECRET}', OCtszInstallerLanguage, {#OC_INIT_MODE_NORMAL}); OpenCandyAsyncInit('{#OC_STR_MY_PRODUCT_NAME}', '{#OC_STR_KEY}', '{#OC_STR_SECRET}', OCtszInstallerLanguage, {#OC_INIT_MODE_NORMAL});
#endif #endif
end; end;