diff options
Diffstat (limited to 'setup_native/source')
-rw-r--r-- | setup_native/source/win32/customactions/sellang/sellang.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/setup_native/source/win32/customactions/sellang/sellang.cxx b/setup_native/source/win32/customactions/sellang/sellang.cxx index 4f2827da801a..f83b0ac84abb 100644 --- a/setup_native/source/win32/customactions/sellang/sellang.cxx +++ b/setup_native/source/win32/customactions/sellang/sellang.cxx @@ -341,7 +341,7 @@ extern "C" UINT __stdcall SelectLanguage( MSIHANDLE handle ) } if (!matches) { for (int i = 0; i < nlangs; i++) { - if (strcmp(langs[nlangs].lang, "en_US") == 0) { + if (strcmp(langs[i].lang, "en_US") == 0) { langs[i].install = true; matches = true; break; |