diff options
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/Clist_modern/src/modern_cachefuncs.cpp | 3 | ||||
-rw-r--r-- | plugins/ExternalAPI/m_seenplugin.h | 2 |
2 files changed, 2 insertions, 3 deletions
diff --git a/plugins/Clist_modern/src/modern_cachefuncs.cpp b/plugins/Clist_modern/src/modern_cachefuncs.cpp index 0259ab7c8a..ffe54f0a4d 100644 --- a/plugins/Clist_modern/src/modern_cachefuncs.cpp +++ b/plugins/Clist_modern/src/modern_cachefuncs.cpp @@ -357,8 +357,7 @@ int GetStatusMessage(wchar_t *text, int text_size, ClcCacheEntry *pdnce, BOOL xs if (noAwayMsg && ServiceExists(MS_LASTSEEN_GET)) { ptrW pwszLastSeen((LPWSTR)CallService(MS_LASTSEEN_GET, (WPARAM)pdnce->hContact)); if (pwszLastSeen) { - CMStringW wszLastSeen(Translate("Last seen: ")); - wszLastSeen.AppendFormat(L"%s", pwszLastSeen); + CMStringW wszLastSeen(FORMAT, L"%s: %s", Translate("Last seen"), pwszLastSeen); CopySkipUnprintableChars(text, (wchar_t*)wszLastSeen.c_str(), text_size - 1); if (text[0] != '\0') return 1; diff --git a/plugins/ExternalAPI/m_seenplugin.h b/plugins/ExternalAPI/m_seenplugin.h index 2fc073bdd8..007ee9303a 100644 --- a/plugins/ExternalAPI/m_seenplugin.h +++ b/plugins/ExternalAPI/m_seenplugin.h @@ -3,7 +3,7 @@ /* * Get last seen string * WPARAM = hContact -* LPARAM = NULL +* LPARAM = 0 * returns a LPWSTR - containg the parsed last seen time (as menu item option). This need to be free using miranda free. */ |