summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2014-01-21 11:06:28 +0000
committerGeorge Hazan <george.hazan@gmail.com>2014-01-21 11:06:28 +0000
commit6465dd41cc06b5952e77ccc72396627abf385a17 (patch)
treecf2181b777a0289f9a02f0ada47cb5f7c11a57c0
parent78a7d1cf713a7aa4ed541323bf53230d5322ac55 (diff)
same story with the parameres' order in wildcmpt
git-svn-id: http://svn.miranda-ng.org/main/trunk@7808 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
-rw-r--r--src/modules/chat/tools.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/chat/tools.cpp b/src/modules/chat/tools.cpp
index 42022b7c38..a553c4c916 100644
--- a/src/modules/chat/tools.cpp
+++ b/src/modules/chat/tools.cpp
@@ -486,7 +486,7 @@ BOOL IsHighlighted(SESSION_INFO *si, GCEVENT *gce)
p3 = p2;
// compare the words, using wildcards
- if (wildcmpit(szWord1, RemoveFormatting(szWord2)))
+ if (wildcmpit(RemoveFormatting(szWord2), szWord1))
return TRUE;
}
}