summaryrefslogtreecommitdiff
path: root/src/modules/options/options.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2014-03-26 17:22:43 +0000
committerGeorge Hazan <george.hazan@gmail.com>2014-03-26 17:22:43 +0000
commitde80d614711fbfbc4cff03684094f00c0501cefb (patch)
treeb0f9283f64fb4c92b0398b7778d68dcf90bff1ac /src/modules/options/options.cpp
parent79af5e37a9454654d08f9f31745a81baa28ea635 (diff)
- fix for applying options;
- fix for reloading language git-svn-id: http://svn.miranda-ng.org/main/trunk@8758 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'src/modules/options/options.cpp')
-rw-r--r--src/modules/options/options.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/modules/options/options.cpp b/src/modules/options/options.cpp
index 4812506681..74464fd333 100644
--- a/src/modules/options/options.cpp
+++ b/src/modules/options/options.cpp
@@ -1115,10 +1115,10 @@ static INT_PTR CALLBACK OptionsDlgProc(HWND hdlg, UINT message, WPARAM wParam, L
opd = dat->getCurrent();
if (opd != NULL) {
- pshn.lParam = 0;
+ pshn.hdr.idFrom = 0;
+ pshn.lParam = LOWORD(wParam);
pshn.hdr.code = PSN_KILLACTIVE;
pshn.hdr.hwndFrom = opd->hwnd;
- pshn.hdr.idFrom = LOWORD(wParam);
if (SendMessage(opd->hwnd, WM_NOTIFY, 0, (LPARAM)&pshn))
break;
}