From dd3bff7548357f5b5ba993a8403fbeb8c83d74e4 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Sat, 30 Sep 2017 17:00:20 +0300 Subject: fixes #951 --- plugins/SmileyAdd/src/smileyroutines.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'plugins') 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; -- cgit v1.2.3