From ada3e8fc7b932bee4e01b99fb7944e85ec67d0b2 Mon Sep 17 00:00:00 2001
From: Vadim Dashevskiy <watcherhd@gmail.com>
Date: Thu, 2 Aug 2012 20:10:30 +0000
Subject: fix for r1328

git-svn-id: http://svn.miranda-ng.org/main/trunk@1330 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
---
 plugins/SmileyAdd/src/smileyroutines.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'plugins/SmileyAdd')

diff --git a/plugins/SmileyAdd/src/smileyroutines.cpp b/plugins/SmileyAdd/src/smileyroutines.cpp
index 130d60123b..95a3d77002 100644
--- a/plugins/SmileyAdd/src/smileyroutines.cpp
+++ b/plugins/SmileyAdd/src/smileyroutines.cpp
@@ -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) | fireView;
+		bool ishpp = (_tcsncmp(classname, _T("THppRichEdit"), 12) == 0) || fireView;
 
 		SetRichCallback(hwnd, NULL, false, true);
 
-- 
cgit v1.2.3