From 6d89d8719cbf532734f785fd420d90975c4b0981 Mon Sep 17 00:00:00 2001 From: Alexander Lantsev Date: Tue, 25 Mar 2014 18:36:30 +0000 Subject: - added Reload button in languages options - option will be reopened after langpack change git-svn-id: http://svn.miranda-ng.org/main/trunk@8747 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- src/modules/options/options.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/modules/options/options.cpp') diff --git a/src/modules/options/options.cpp b/src/modules/options/options.cpp index 0e59b4e943..38efd94b32 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.hdr.idFrom = 0; pshn.lParam = 0; 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; } -- cgit v1.2.3