diff options
author | George Hazan <george.hazan@gmail.com> | 2016-06-01 11:02:25 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2016-06-01 11:02:25 +0000 |
commit | fd23c78f121f3f1d07d97d657c617b46b25c614f (patch) | |
tree | 6fc12a82ed0e537228e6c712d0c571afcdf10e1c /plugins/Clist_modern/src/modern_contact.cpp | |
parent | ea68d4474bb7329a5e59e0388b88155b96f31f7c (diff) |
- finally clist_modern's own rebuild all function got wiped out;
- massive removal of duplicate code;
- code cleaning
git-svn-id: http://svn.miranda-ng.org/main/trunk@16894 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/Clist_modern/src/modern_contact.cpp')
-rw-r--r-- | plugins/Clist_modern/src/modern_contact.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/Clist_modern/src/modern_contact.cpp b/plugins/Clist_modern/src/modern_contact.cpp index 71753c5aee..816294ea61 100644 --- a/plugins/Clist_modern/src/modern_contact.cpp +++ b/plugins/Clist_modern/src/modern_contact.cpp @@ -107,7 +107,7 @@ int cliCompareContacts(const ClcContact *contact1, const ClcContact *contact2) }
// one is offline: offline goes below online
- if (g_CluiData.fSortNoOfflineBottom == 0) {
+ if (!g_CluiData.fSortNoOfflineBottom) {
int statusa = c1->getStatus();
int statusb = c2->getStatus();
if ((statusa == ID_STATUS_OFFLINE) != (statusb == ID_STATUS_OFFLINE))
|