summaryrefslogtreecommitdiff
path: root/plugins/NewStory/src/templates.h
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2020-04-28 18:39:17 +0300
committerGeorge Hazan <ghazan@miranda.im>2020-04-28 18:39:17 +0300
commit175ed5d764b1c35e0d97f949e030382acea8527e (patch)
tree318a3edb92296a08761a3bd821475a32aecc1f2b /plugins/NewStory/src/templates.h
parenteb40a21481eaae317e7a8638ab51e8e624a7d817 (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.h2
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);