summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2016-11-29 15:03:29 +0300
committerGeorge Hazan <ghazan@miranda.im>2016-11-29 15:03:29 +0300
commit2f785cafc08aa2a4b91cca2245d0895231141470 (patch)
treee3808d552039cf53d396512a32398606aa18d335 /src
parent6dfdffd3161a716304b74c1fc5c386c9601cc69e (diff)
crash fix for the options dialog
Diffstat (limited to 'src')
-rw-r--r--src/mir_app/src/options.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mir_app/src/options.cpp b/src/mir_app/src/options.cpp
index fbafdd2b11..60583757f7 100644
--- a/src/mir_app/src/options.cpp
+++ b/src/mir_app/src/options.cpp
@@ -1116,7 +1116,7 @@ public:
void Locate(const wchar_t *pszGroup, const wchar_t *pszPage, int _hLang)
{
- Show(SW_RESTORE);
+ ShowWindow(GetHwnd(), SW_RESTORE);
SetForegroundWindow(m_hwnd);
if (pszPage != NULL) {
HTREEITEM hItem = NULL;