From d154673f93ad95197bce8cadb995daa5bc39f5d8 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Tue, 21 Jan 2014 20:04:48 +0000 Subject: minor code cleaning git-svn-id: http://svn.miranda-ng.org/main/trunk@7820 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- src/modules/protocols/protochains.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/modules/protocols/protochains.cpp') diff --git a/src/modules/protocols/protochains.cpp b/src/modules/protocols/protochains.cpp index 95392c4331..56080253dc 100644 --- a/src/modules/protocols/protochains.cpp +++ b/src/modules/protocols/protochains.cpp @@ -197,12 +197,12 @@ static INT_PTR Proto_IsProtoOnContact(WPARAM wParam, LPARAM lParam) return 0; char szContactProto[40]; - if ( !GetProtocolP((HANDLE)wParam, szContactProto, sizeof(szContactProto))) - if ( !_stricmp(szProto, szContactProto)) + if (!GetProtocolP((HANDLE)wParam, szContactProto, sizeof(szContactProto))) + if (!_stricmp(szProto, szContactProto)) return -1; for (int i=0; i < filters.getCount(); i++) - if ( !strcmp(szProto, filters[i]->szName)) + if (!strcmp(szProto, filters[i]->szName)) return i+1; return 0; @@ -241,7 +241,7 @@ static INT_PTR Proto_RemoveFromContact(WPARAM wParam, LPARAM lParam) int LoadProtoChains(void) { - if ( !db_get_b(NULL, "Compatibility", "Filters", 0)) { + if (!db_get_b(NULL, "Compatibility", "Filters", 0)) { CallService(MS_DB_MODULE_DELETE, 0, (LPARAM)"_Filters"); db_set_b(NULL, "Compatibility", "Filters", 1); } -- cgit v1.2.3