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_cachefuncs.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_cachefuncs.cpp')
-rw-r--r-- | plugins/Clist_modern/src/modern_cachefuncs.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/Clist_modern/src/modern_cachefuncs.cpp b/plugins/Clist_modern/src/modern_cachefuncs.cpp index de7d5078df..8e7965316d 100644 --- a/plugins/Clist_modern/src/modern_cachefuncs.cpp +++ b/plugins/Clist_modern/src/modern_cachefuncs.cpp @@ -63,7 +63,7 @@ void Cache_GetText(ClcData *dat, ClcContact *contact) { Cache_GetFirstLineText(dat, contact); - if (!dat->force_in_dialog) { + if (!dat->bForceInDialog) { if (dat->secondLine.show) Cache_GetNthLineText(dat, contact->pce, 2); if (dat->thirdLine.show) @@ -475,7 +475,7 @@ void Cache_GetFirstLineText(ClcData *dat, ClcContact *contact) ClcCacheEntry *pdnce = contact->pce; TCHAR *name = pcli->pfnGetContactDisplayName(contact->hContact, 0); - if (dat->first_line_append_nick && !dat->force_in_dialog) { + if (dat->first_line_append_nick && !dat->bForceInDialog) { DBVARIANT dbv = { 0 }; if (!db_get_ts(pdnce->hContact, pdnce->m_pszProto, "Nick", &dbv)) { TCHAR nick[_countof(contact->szText)]; @@ -492,7 +492,7 @@ void Cache_GetFirstLineText(ClcData *dat, ClcContact *contact) } else mir_tstrncpy(contact->szText, name, _countof(contact->szText)); - if (!dat->force_in_dialog) + if (!dat->bForceInDialog) contact->ssText.ReplaceSmileys(dat, pdnce, contact->szText, dat->first_line_draw_smileys); } |