diff options
author | George Hazan <george.hazan@gmail.com> | 2012-11-10 20:18:48 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2012-11-10 20:18:48 +0000 |
commit | 22377c8be5548d37deee4258b315c2e5f1b42bca (patch) | |
tree | 359febdaa0dbc9efaf6384259ce43a3fcb03fadb /src/modules/clist/clui.cpp | |
parent | 2e57f9842aa2da2985bfc36bcc85d1124f2dbb3f (diff) |
- fixed crazy drawing bug in nicer;
- code cleaning
git-svn-id: http://svn.miranda-ng.org/main/trunk@2281 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'src/modules/clist/clui.cpp')
-rw-r--r-- | src/modules/clist/clui.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/modules/clist/clui.cpp b/src/modules/clist/clui.cpp index 383ab66dd8..983ff73007 100644 --- a/src/modules/clist/clui.cpp +++ b/src/modules/clist/clui.cpp @@ -204,7 +204,7 @@ static INT_PTR MenuItem_DeleteContact(WPARAM wParam, LPARAM lParam) status = CallProtoServiceInt(NULL,szProto, PS_GETSTATUS, 0, 0);
if (status == ID_STATUS_OFFLINE || (status >= ID_STATUS_CONNECTING && status < ID_STATUS_CONNECTING + MAX_CONNECT_RETRIES)) {
// Set a flag so we remember to delete the contact when the protocol goes online the next time
- DBWriteContactSettingByte((HANDLE) wParam, "CList", "Delete", 1);
+ DBWriteContactSettingByte((HANDLE)wParam, "CList", "Delete", 1);
MessageBox(NULL,
TranslateT("This contact is on an instant messaging system which stores its contact list on a central server. The contact will be removed from the server and from your contact list when you next connect to that network."),
TranslateT("Delete Contact"), MB_OK);
@@ -217,7 +217,7 @@ static INT_PTR MenuItem_DeleteContact(WPARAM wParam, LPARAM lParam) // Archive contact
case IDC_HIDE:
- DBWriteContactSettingByte((HANDLE) wParam, "CList", "Hidden", 1);
+ DBWriteContactSettingByte((HANDLE)wParam, "CList", "Hidden", 1);
break;
}
@@ -228,7 +228,7 @@ static INT_PTR MenuItem_AddContactToList(WPARAM wParam, LPARAM) {
ADDCONTACTSTRUCT acs = { 0 };
- acs.handle = (HANDLE) wParam;
+ acs.handle = (HANDLE)wParam;
acs.handleType = HANDLE_CONTACT;
acs.szProto = "";
|