diff options
author | George Hazan <ghazan@miranda.im> | 2018-05-27 14:57:51 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2018-05-27 14:57:51 +0300 |
commit | 9ec3c7e78e560356066b272ad7a38d3d333de1b5 (patch) | |
tree | e72efa33a5af633cc83503efd31bdbc17ebf781e /plugins/Clist_modern/src/modern_cachefuncs.cpp | |
parent | 66ab99eb5b5c47a01e1cc6613af07426abbeb19b (diff) |
global variable name standardization
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 65a350be88..7c8901bf67 100644 --- a/plugins/Clist_modern/src/modern_cachefuncs.cpp +++ b/plugins/Clist_modern/src/modern_cachefuncs.cpp @@ -47,10 +47,10 @@ static BOOL ExecuteOnAllContactsOfGroup(ClcGroup *group, ExecuteOnAllContactsFun void Cache_GetTimezone(ClcData *dat, MCONTACT hContact) { ClcCacheEntry *pdnce = Clist_GetCacheEntry(hContact); - if (dat == nullptr && g_CLI.hwndContactTree) - dat = (ClcData *)GetWindowLongPtr(g_CLI.hwndContactTree, 0); + if (dat == nullptr && g_clistApi.hwndContactTree) + dat = (ClcData *)GetWindowLongPtr(g_clistApi.hwndContactTree, 0); - if (dat && dat->hWnd == g_CLI.hwndContactTree) { + if (dat && dat->hWnd == g_clistApi.hwndContactTree) { DWORD flags = dat->contact_time_show_only_if_different ? TZF_DIFONLY : 0; pdnce->hTimeZone = TimeZone_CreateByContact(hContact, nullptr, flags); } |