Gives the right default language now
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@802 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
parent
79ddaab554
commit
63c617f4b1
2 changed files with 1 additions and 1 deletions
|
@ -72,7 +72,7 @@ BOOL CALLBACK DialogProc(HWND hwndDlg, UINT uMsg, WPARAM wParam, LPARAM lParam)
|
|||
SendDlgItemMessage(hwndDlg, IDC_APPICON, STM_SETICON, (LPARAM)LoadIcon(GetModuleHandle(0),MAKEINTRESOURCE(103)), 0);
|
||||
for (i = 0; i < langs_num; i++) {
|
||||
if (!lstrcmp(langs[i].id, getuservariable(INST_LANG))) {
|
||||
SendDlgItemMessage(hwndDlg, IDC_LANGUAGE, CB_SETCURSEL, i, 0);
|
||||
SendDlgItemMessage(hwndDlg, IDC_LANGUAGE, CB_SETCURSEL, langs_num-i, 0);
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue