From 175ed5d764b1c35e0d97f949e030382acea8527e Mon Sep 17 00:00:00 2001 From: George Hazan Date: Tue, 28 Apr 2020 18:39:17 +0300 Subject: fixes #2365 (NewStory: date/times are displayed according to the OS locale settings) --- plugins/NewStory/src/templates.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'plugins/NewStory/src/templates.h') 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); -- cgit v1.2.3