Must check if wParam matches MakensisAPI::QH_*
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6559 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
parent
46ac05004d
commit
9eb4035b08
1 changed files with 1 additions and 1 deletions
|
@ -434,7 +434,7 @@ INT_PTR CALLBACK DialogProc(HWND hwndDlg, UINT msg, WPARAM wParam, LPARAM lParam
|
|||
return TRUE;
|
||||
}
|
||||
case MakensisAPI::QUERYHOST: {
|
||||
if (MakensisAPI::QH_OUTPUTCHARSET) {
|
||||
if (MakensisAPI::QH_OUTPUTCHARSET == wParam) {
|
||||
const UINT reqcp = 1200; // We want UTF-16LE
|
||||
SetWindowLongPtr(hwndDlg, DWLP_MSGRESULT, (LONG_PTR)(1+reqcp));
|
||||
return TRUE;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue