diff options
author | George Hazan <george.hazan@gmail.com> | 2013-03-22 20:52:18 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2013-03-22 20:52:18 +0000 |
commit | 6c96f61ce4b7b6f288255009df022c25ed246d8a (patch) | |
tree | 997d04327182e607e533313551ed237b9316ffa2 /plugins | |
parent | e51fc16c9a3b29a2434084b2b2a8817f5c540a77 (diff) |
fixes #182: either nothing or garbage is displayed instead of the xStatus name
git-svn-id: http://svn.miranda-ng.org/main/trunk@4163 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/Clist_modern/src/modern_statusbar.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/Clist_modern/src/modern_statusbar.cpp b/plugins/Clist_modern/src/modern_statusbar.cpp index 1d6538b19d..8cf08c44d8 100644 --- a/plugins/Clist_modern/src/modern_statusbar.cpp +++ b/plugins/Clist_modern/src/modern_statusbar.cpp @@ -373,8 +373,8 @@ int ModernDrawStatusBarWorker(HWND hWnd, HDC hDC) if ((p.xStatusMode & 8) && p.ProtoStatus > ID_STATUS_OFFLINE) {
TCHAR str[512];
CUSTOM_STATUS cs = { sizeof(cs) };
- cs.flags = CSSF_MASK_MESSAGE | CSSF_TCHAR;
- cs.ptszMessage = str;
+ cs.flags = CSSF_MASK_NAME | CSSF_TCHAR;
+ cs.ptszName = str;
if ( CallProtoService(p.AccountName, PS_GETCUSTOMSTATUSEX, 0, (LPARAM)&cs) == 0)
p.ProtoXStatus = mir_tstrdup(str);
}
|