summaryrefslogtreecommitdiff
path: root/StopSpamPlus/src
diff options
context:
space:
mode:
authorgeorge.hazan <george.hazan@e753b5eb-9565-29b2-b5c5-2cc6f99dfbcb>2012-05-02 19:32:10 +0000
committergeorge.hazan <george.hazan@e753b5eb-9565-29b2-b5c5-2cc6f99dfbcb>2012-05-02 19:32:10 +0000
commit91596ab0aed01fb0e3225b60f76308fe997e85bd (patch)
treeb40afeae185025f13587bab9138f9a4ea4540684 /StopSpamPlus/src
parent6d4fb7df596c8f2167088b1bc32d830f088e1eb6 (diff)
- fix for the string check
- fix for 64-bit configuration in VS2010 project git-svn-id: http://miranda-plugins.googlecode.com/svn/trunk@291 e753b5eb-9565-29b2-b5c5-2cc6f99dfbcb
Diffstat (limited to 'StopSpamPlus/src')
-rw-r--r--StopSpamPlus/src/services.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/StopSpamPlus/src/services.cpp b/StopSpamPlus/src/services.cpp
index 6c427cd..57aaf80 100644
--- a/StopSpamPlus/src/services.cpp
+++ b/StopSpamPlus/src/services.cpp
@@ -30,7 +30,7 @@ INT_PTR RemoveTempContacts(WPARAM wParam,LPARAM lParam)
if ( DBGetContactSettingTString( hContact, "CList", "Group", &dbv ))
dbv.ptszVal = NULL;
- if ( DBGetContactSettingByte(hContact, "CList", "NotOnList", 0) || lstrcmp(dbv.ptszVal, _T("Not In List")) == 0 || lstrcmp(dbv.ptszVal, _T("Νε β ροθρκε")) == 0 || DBGetContactSettingByte(hContact, "CList", "Hidden", 0 )) {
+ if ( DBGetContactSettingByte(hContact, "CList", "NotOnList", 0) || !lstrcmp(dbv.ptszVal, _T("Not In List")) || !lstrcmp(dbv.ptszVal, TranslateT("Not In List")) || DBGetContactSettingByte(hContact, "CList", "Hidden", 0 )) {
char *szProto = (char *) CallService(MS_PROTO_GETCONTACTBASEPROTO, (WPARAM)hContact, 0);
if ( szProto != NULL ) {
// Check if protocol uses server side lists