From 91596ab0aed01fb0e3225b60f76308fe997e85bd Mon Sep 17 00:00:00 2001 From: "george.hazan" Date: Wed, 2 May 2012 19:32:10 +0000 Subject: - 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 --- StopSpamPlus/src/services.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'StopSpamPlus/src') 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 -- cgit v1.2.3