summaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2017-09-30 17:00:20 +0300
committerGeorge Hazan <ghazan@miranda.im>2017-09-30 17:00:30 +0300
commitdd3bff7548357f5b5ba993a8403fbeb8c83d74e4 (patch)
treedd3e2fde259e05dcb382a3aea82a3f26a42a287a /plugins
parentbda1248d98da791c9926c59124741cca4a84813d (diff)
fixes #951
Diffstat (limited to 'plugins')
-rw-r--r--plugins/SmileyAdd/src/smileyroutines.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/SmileyAdd/src/smileyroutines.cpp b/plugins/SmileyAdd/src/smileyroutines.cpp
index e8b6f8c0d2..2dbc049b16 100644
--- a/plugins/SmileyAdd/src/smileyroutines.cpp
+++ b/plugins/SmileyAdd/src/smileyroutines.cpp
@@ -250,7 +250,7 @@ void ReplaceSmileys(HWND hwnd, SmileyPackType *smp, SmileyPackCType *smcp, const
// Determine background color
// This logic trying to minimize number of background color changes
- static COLORREF bkgColor = GetSysColor(COLOR_WINDOW);
+ COLORREF bkgColor = GetSysColor(COLOR_WINDOW);
COLORREF bkgColorPv = (COLORREF)SendMessage(hwnd, EM_SETBKGNDCOLOR, 0, bkgColor);
if (bkgColorPv != bkgColor) {
bkgColor = bkgColorPv;