diff options
author | George Hazan <ghazan@miranda.im> | 2020-04-28 18:39:17 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2020-04-28 18:39:17 +0300 |
commit | 175ed5d764b1c35e0d97f949e030382acea8527e (patch) | |
tree | 318a3edb92296a08761a3bd821475a32aecc1f2b /plugins/NewStory/src/templates.h | |
parent | eb40a21481eaae317e7a8638ab51e8e624a7d817 (diff) |
fixes #2365 (NewStory: date/times are displayed according to the OS locale settings)
Diffstat (limited to 'plugins/NewStory/src/templates.h')
-rw-r--r-- | plugins/NewStory/src/templates.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/NewStory/src/templates.h b/plugins/NewStory/src/templates.h index 69491a4a3c..931773ce78 100644 --- a/plugins/NewStory/src/templates.h +++ b/plugins/NewStory/src/templates.h @@ -16,7 +16,7 @@ struct TemplateVars return val[id]; } - __forceinline void SetVar(uint8_t id, wchar_t *v, bool d) { + __forceinline void SetVar(uint8_t id, const wchar_t *v, bool d) { if (val[id] && del[id]) mir_free(val[id]); val[id] = mir_wstrdup(v); |