summaryrefslogtreecommitdiff
path: root/src/modules/clist/contact.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/clist/contact.cpp')
-rw-r--r--src/modules/clist/contact.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/clist/contact.cpp b/src/modules/clist/contact.cpp
index 997061b117..4a7be77ba1 100644
--- a/src/modules/clist/contact.cpp
+++ b/src/modules/clist/contact.cpp
@@ -80,7 +80,7 @@ void fnLoadContactTree(void)
int hideOffline = db_get_b(NULL, "CList", "HideOffline", SETTING_HIDEOFFLINE_DEFAULT);
for (HANDLE hContact = db_find_first(); hContact; hContact = db_find_next(hContact)) {
int status = GetContactStatus(hContact);
- if (( !hideOffline || status != ID_STATUS_OFFLINE) && !db_get_b(hContact, "CList", "Hidden", 0))
+ if ((!hideOffline || status != ID_STATUS_OFFLINE) && !db_get_b(hContact, "CList", "Hidden", 0))
cli.pfnChangeContactIcon(hContact, cli.pfnIconFromStatusMode(GetContactProto(hContact), status, hContact), 1);
}
sortByStatus = db_get_b(NULL, "CList", "SortByStatus", SETTING_SORTBYSTATUS_DEFAULT);