diff options
Diffstat (limited to 'src/mir_app')
-rw-r--r-- | src/mir_app/src/clui.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mir_app/src/clui.cpp b/src/mir_app/src/clui.cpp index 0805220825..22801c16e4 100644 --- a/src/mir_app/src/clui.cpp +++ b/src/mir_app/src/clui.cpp @@ -97,7 +97,8 @@ static int CluiLangpackChanged(WPARAM, LPARAM) g_clistApi.hMenuMain = LoadMenuA(g_plugin.getInst(), MAKEINTRESOURCEA(IDR_CLISTMENU));
TranslateMenu(g_clistApi.hMenuMain);
- SetMenu(g_clistApi.hwndContactList, g_clistApi.hMenuMain);
+ if (GetMenu(g_clistApi.hwndContactList))
+ SetMenu(g_clistApi.hwndContactList, g_clistApi.hMenuMain);
return 0;
}
|