diff options
author | George Hazan <george.hazan@gmail.com> | 2023-08-19 19:03:07 +0300 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2023-08-19 19:03:07 +0300 |
commit | 0ea5c484af5f956c87800df524bdcb55c040b2f2 (patch) | |
tree | a5d9d768502f6b5b96e23164108d504db590001a /plugins | |
parent | 4cdf288cf2d1aefc01332db1bc73dc806df46be2 (diff) |
NS: fix for the trash in the history window's header
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/NewStory/src/templates.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/NewStory/src/templates.cpp b/plugins/NewStory/src/templates.cpp index cd32c5b9c6..463140f157 100644 --- a/plugins/NewStory/src/templates.cpp +++ b/plugins/NewStory/src/templates.cpp @@ -218,7 +218,7 @@ void vfGlobal(int, TemplateVars *vars, MCONTACT hContact, ItemData *) // %S: my nick (not for messages) char* proto = Proto_GetBaseAccountName(hContact); ptrW nick(Contact::GetInfo(CNF_DISPLAY, 0, proto)); - vars->SetVar('S', nick, false); + vars->SetVar('S', nick, true); } void vfContact(int, TemplateVars *vars, MCONTACT hContact, ItemData *) @@ -230,7 +230,7 @@ void vfContact(int, TemplateVars *vars, MCONTACT hContact, ItemData *) wchar_t buf[20]; // %c: event count mir_snwprintf(buf, L"%d", db_event_count(hContact)); - vars->SetVar('c', buf, false); + vars->SetVar('c', buf, true); } void vfSystem(int, TemplateVars *vars, MCONTACT hContact, ItemData *) @@ -241,7 +241,7 @@ void vfSystem(int, TemplateVars *vars, MCONTACT hContact, ItemData *) // %c: event count wchar_t buf[20]; mir_snwprintf(buf, L"%d", db_event_count(hContact)); - vars->SetVar('c', buf, false); + vars->SetVar('c', buf, true); } void vfEvent(int, TemplateVars *vars, MCONTACT, ItemData *item) |