diff options
author | George Hazan <ghazan@miranda.im> | 2018-04-05 17:59:29 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2018-04-05 17:59:29 +0300 |
commit | b1ac2547316dca56f32d238d50dc2dc6c8e8aedf (patch) | |
tree | 87483cb57f6a97b1c66e8d3a7d47427731efd9ed /plugins/Clist_modern | |
parent | 200566e2070f941e26ea52078bc8326d4fb76ee0 (diff) |
CLIST_INTERFACE::pfnGetStatusModeDescription => Clist_GetStatusModeDescription
Diffstat (limited to 'plugins/Clist_modern')
-rw-r--r-- | plugins/Clist_modern/src/modern_cachefuncs.cpp | 2 | ||||
-rw-r--r-- | plugins/Clist_modern/src/modern_clistevents.cpp | 2 | ||||
-rw-r--r-- | plugins/Clist_modern/src/modern_statusbar.cpp | 2 | ||||
-rw-r--r-- | plugins/Clist_modern/src/modern_viewmodebar.cpp | 2 |
4 files changed, 4 insertions, 4 deletions
diff --git a/plugins/Clist_modern/src/modern_cachefuncs.cpp b/plugins/Clist_modern/src/modern_cachefuncs.cpp index 97dc946890..428faca9e7 100644 --- a/plugins/Clist_modern/src/modern_cachefuncs.cpp +++ b/plugins/Clist_modern/src/modern_cachefuncs.cpp @@ -293,7 +293,7 @@ int GetStatusName(wchar_t *text, int text_size, ClcCacheEntry *pdnce, BOOL xstat } // Get Status name - wchar_t *tmp = pcli->pfnGetStatusModeDescription(nStatus, 0); + wchar_t *tmp = Clist_GetStatusModeDescription(nStatus, 0); if (tmp && *tmp) { mir_wstrncpy(text, tmp, text_size); return 1; diff --git a/plugins/Clist_modern/src/modern_clistevents.cpp b/plugins/Clist_modern/src/modern_clistevents.cpp index bfc45dcb56..0278b00bbb 100644 --- a/plugins/Clist_modern/src/modern_clistevents.cpp +++ b/plugins/Clist_modern/src/modern_clistevents.cpp @@ -114,7 +114,7 @@ CListEvent* cli_AddEvent(CLISTEVENT *cle) NotifyMenuItemExData *nmi = (struct NotifyMenuItemExData *) malloc(sizeof(struct NotifyMenuItemExData));
if (nmi) {
wchar_t szBuffer[128];
- wchar_t* szStatus = pcli->pfnGetStatusModeDescription(db_get_w(p->hContact, szProto, "Status", ID_STATUS_OFFLINE), 0);
+ wchar_t* szStatus = Clist_GetStatusModeDescription(db_get_w(p->hContact, szProto, "Status", ID_STATUS_OFFLINE), 0);
wchar_t szwProto[64];
MultiByteToWideChar(CP_ACP, 0, szProto, -1, szwProto, 64);
szwProto[63] = 0;
diff --git a/plugins/Clist_modern/src/modern_statusbar.cpp b/plugins/Clist_modern/src/modern_statusbar.cpp index e0d671598f..c83617b732 100644 --- a/plugins/Clist_modern/src/modern_statusbar.cpp +++ b/plugins/Clist_modern/src/modern_statusbar.cpp @@ -247,7 +247,7 @@ int ModernDrawStatusBarWorker(HWND hWnd, HDC hDC) p->tszProtoHumanName = mir_wstrdup(accs[i]->tszAccountName);
p->szAccountName = mir_strdup(szProto);
p->szProtoName = mir_strdup(accs[i]->szProtoName);
- p->tszProtoStatusText = mir_wstrdup(pcli->pfnGetStatusModeDescription(p->iProtoStatus, 0));
+ p->tszProtoStatusText = mir_wstrdup(Clist_GetStatusModeDescription(p->iProtoStatus, 0));
p->iProtoPos = iProtoInStatusMenu++;
p->bIsDimmed = 0;
diff --git a/plugins/Clist_modern/src/modern_viewmodebar.cpp b/plugins/Clist_modern/src/modern_viewmodebar.cpp index f51c72b5ed..78baf5a889 100644 --- a/plugins/Clist_modern/src/modern_viewmodebar.cpp +++ b/plugins/Clist_modern/src/modern_viewmodebar.cpp @@ -251,7 +251,7 @@ static int FillDialog(HWND hwnd) for (int i = ID_STATUS_OFFLINE; i <= ID_STATUS_OUTTOLUNCH; i++) {
LVITEM item = { 0 };
item.mask = LVIF_TEXT;
- item.pszText = pcli->pfnGetStatusModeDescription(i, 0);
+ item.pszText = Clist_GetStatusModeDescription(i, 0);
item.iItem = i - ID_STATUS_OFFLINE;
SendMessage(hwndList, LVM_INSERTITEM, 0, (LPARAM)&item);
}
|