summaryrefslogtreecommitdiff
path: root/plugins/Clist_modern/src/modern_skinopt.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2021-02-18 19:02:13 +0300
committerGeorge Hazan <ghazan@miranda.im>2021-02-18 19:02:13 +0300
commitadaf7196c187cc926146fa65ff1f68a0a1ef3531 (patch)
treea51dd8b1ed2d8b911b72ccf4e67a3234fbc9f80d /plugins/Clist_modern/src/modern_skinopt.cpp
parent72348ec753695b71234631f4c358ca4505a1d737 (diff)
fixes #2744 + code cleaning
Diffstat (limited to 'plugins/Clist_modern/src/modern_skinopt.cpp')
-rw-r--r--plugins/Clist_modern/src/modern_skinopt.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/Clist_modern/src/modern_skinopt.cpp b/plugins/Clist_modern/src/modern_skinopt.cpp
index 81f41b2430..f0bdabe995 100644
--- a/plugins/Clist_modern/src/modern_skinopt.cpp
+++ b/plugins/Clist_modern/src/modern_skinopt.cpp
@@ -480,13 +480,13 @@ INT_PTR SvcApplySkin(WPARAM, LPARAM lParam)
GetWindowRect(hwnd, &rc);
Sync(CLUIFrames_OnMoving, hwnd, &rc);
- g_mutex_bChangingMode = TRUE;
+ g_bChangingMode = TRUE;
CLUI_UpdateLayeredMode();
CLUI_ChangeWindowMode();
SendMessage(g_clistApi.hwndContactTree, WM_SIZE, 0, 0); //forces it to send a cln_listsizechanged
CLUI_ReloadCLUIOptions();
cliShowHide(true);
- g_mutex_bChangingMode = FALSE;
+ g_bChangingMode = FALSE;
if (g_hCLUIOptionsWnd) {
SendDlgItemMessage(g_hCLUIOptionsWnd, IDC_LEFTMARGINSPIN, UDM_SETPOS, 0, db_get_b(0, "CLUI", "LeftClientMargin", SETTING_LEFTCLIENTMARIGN_DEFAULT));