summaryrefslogtreecommitdiff
path: root/plugins/Scriver/chat/clist.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2012-06-24 16:34:01 +0000
committerGeorge Hazan <george.hazan@gmail.com>2012-06-24 16:34:01 +0000
commite7763f7f3b14afd60864b983a309e504d1ffc560 (patch)
tree7e95651f30ec4f6f582735c4b9043ca3c1e78114 /plugins/Scriver/chat/clist.cpp
parentcff526fc610fe0166b59c25bcb7730b92b481480 (diff)
compilation fix
git-svn-id: http://svn.miranda-ng.org/main/trunk@605 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/Scriver/chat/clist.cpp')
-rw-r--r--plugins/Scriver/chat/clist.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/plugins/Scriver/chat/clist.cpp b/plugins/Scriver/chat/clist.cpp
index 6ccf34c252..2c32bc7169 100644
--- a/plugins/Scriver/chat/clist.cpp
+++ b/plugins/Scriver/chat/clist.cpp
@@ -69,7 +69,7 @@ HANDLE CList_AddRoom(const char* pszModule, const TCHAR* pszRoom, const TCHAR* p
END_GROUPLOOP:
DBWriteContactSettingWord(hContact, pszModule, "Status", ID_STATUS_OFFLINE);
DBWriteContactSettingTString(hContact, pszModule, "Nick", pszDisplayName );
-/* if(iType != GCW_SERVER)
+/* if (iType != GCW_SERVER)
DBWriteContactSettingByte(hContact, "CList", "Hidden", 1);*/
return hContact;
}
@@ -87,7 +87,7 @@ END_GROUPLOOP:
DBWriteContactSettingTString( hContact, pszModule, "ChatRoomID", pszRoom );
DBWriteContactSettingByte(hContact, pszModule, "ChatRoom", (BYTE)iType);
DBWriteContactSettingWord(hContact, pszModule, "Status", ID_STATUS_OFFLINE);
-// if(iType == GCW_SERVER)
+// if (iType == GCW_SERVER)
// DBWriteContactSettingByte(hContact, "CList", "Hidden", 1);
return hContact;
}
@@ -143,7 +143,7 @@ int CList_RoomDoubleclicked(WPARAM wParam,LPARAM lParam)
szProto = (char *) CallService(MS_PROTO_GETCONTACTBASEPROTO, (WPARAM) hContact, 0);
if ( MM_FindModule(szProto)) {
- if(DBGetContactSettingByte(hContact, szProto, "ChatRoom", 0) == 0)
+ if (DBGetContactSettingByte(hContact, szProto, "ChatRoom", 0) == 0)
return 0;
if ( !DBGetContactSettingTString( hContact, szProto, "ChatRoomID", &dbv )) {
@@ -298,7 +298,7 @@ BOOL CList_AddEvent(HANDLE hContact, HICON Icon, HANDLE event, int type, TCHAR*
if (!CallService(MS_CLIST_GETEVENT, (WPARAM)hContact, (LPARAM)0))
CallService(MS_CLIST_ADDEVENT,(WPARAM) hContact,(LPARAM) &cle);
} else {
- if(CallService(MS_CLIST_GETEVENT, (WPARAM)hContact, (LPARAM)0))
+ if (CallService(MS_CLIST_GETEVENT, (WPARAM)hContact, (LPARAM)0))
CallService(MS_CLIST_REMOVEEVENT, (WPARAM)hContact, (LPARAM)event);
CallService(MS_CLIST_ADDEVENT,(WPARAM) hContact,(LPARAM) &cle);
}