summaryrefslogtreecommitdiff
path: root/plugins/SmileyAdd/src/smileyroutines.cpp
diff options
context:
space:
mode:
authorAlexey Kulakov <panda75@bk.ru>2012-08-02 19:37:11 +0000
committerAlexey Kulakov <panda75@bk.ru>2012-08-02 19:37:11 +0000
commit4e932f1678b7e926d436e1fcd6a7b5c2c3f9b1a0 (patch)
tree0598d460b1e583d414ccdff11d7210c6508cb847 /plugins/SmileyAdd/src/smileyroutines.cpp
parent3af838e995ecc0d61f45ea18e3c385e363bbe3ca (diff)
not HPP-only messages animation smileys interface (through flag) (sorry, i needed it)
git-svn-id: http://svn.miranda-ng.org/main/trunk@1328 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/SmileyAdd/src/smileyroutines.cpp')
-rw-r--r--plugins/SmileyAdd/src/smileyroutines.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/SmileyAdd/src/smileyroutines.cpp b/plugins/SmileyAdd/src/smileyroutines.cpp
index ba136d7ed5..130d60123b 100644
--- a/plugins/SmileyAdd/src/smileyroutines.cpp
+++ b/plugins/SmileyAdd/src/smileyroutines.cpp
@@ -219,7 +219,7 @@ void UpdateSelection(CHARRANGE& sel, int pos, int dif)
}
void ReplaceSmileys(HWND hwnd, SmileyPackType* smp, SmileyPackCType* smcp, const CHARRANGE& sel,
- bool useHidden, bool ignoreLast, bool unFreeze)
+ bool useHidden, bool ignoreLast, bool unFreeze, bool fireView)
{
/*
LARGE_INTEGER freq, strt, end;
@@ -281,7 +281,7 @@ void ReplaceSmileys(HWND hwnd, SmileyPackType* smp, SmileyPackCType* smcp, const
TCHAR classname[20];
GetClassName(hwnd, classname, SIZEOF(classname));
- bool ishpp = (_tcsncmp(classname, _T("THppRichEdit"), 12) == 0);
+ bool ishpp = (_tcsncmp(classname, _T("THppRichEdit"), 12) == 0) | fireView;
SetRichCallback(hwnd, NULL, false, true);