diff options
-rw-r--r-- | plugins/SmileyAdd/src/smileyroutines.cpp | 2 |
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;
|