Outputs the right language
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@805 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
parent
df997ad3d9
commit
dd68d9797b
2 changed files with 1 additions and 1 deletions
|
@ -81,7 +81,7 @@ BOOL CALLBACK DialogProc(HWND hwndDlg, UINT uMsg, WPARAM wParam, LPARAM lParam)
|
|||
case WM_COMMAND:
|
||||
switch (LOWORD(wParam)) {
|
||||
case IDOK:
|
||||
pushstring(langs[SendDlgItemMessage(hwndDlg, IDC_LANGUAGE, CB_GETCURSEL, 0, 0)].id);
|
||||
pushstring(langs[langs_num-SendDlgItemMessage(hwndDlg, IDC_LANGUAGE, CB_GETCURSEL, 0, 0)-1].id);
|
||||
EndDialog(hwndDlg, 0);
|
||||
break;
|
||||
case IDCANCEL:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue