From 28108cf449cb49c4f969f615032522badd071734 Mon Sep 17 00:00:00 2001 From: Mataes Date: Sat, 4 Apr 2020 01:08:35 +0300 Subject: newstory: minor cleanup --- plugins/NewStory/src/templates.h | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) (limited to 'plugins/NewStory/src/templates.h') diff --git a/plugins/NewStory/src/templates.h b/plugins/NewStory/src/templates.h index 71c41c5539..2067d4118f 100644 --- a/plugins/NewStory/src/templates.h +++ b/plugins/NewStory/src/templates.h @@ -10,22 +10,22 @@ enum struct TemplateVars { bool del[256]; - wchar_t *val[256]; + wchar_t* val[256]; }; -typedef void(*VarFunc)(int mode, TemplateVars *vars, MCONTACT hContact, HistoryArray::ItemData *item); +typedef void(*VarFunc)(int mode, TemplateVars* vars, MCONTACT hContact, HistoryArray::ItemData* item); struct TemplateInfo { enum { VF_COUNT = 5 }; - char *setting; - wchar_t *group; + char* setting; + wchar_t* group; int icon; - wchar_t *title; - wchar_t *defvalue; - wchar_t *value; - wchar_t *tmpValue; + wchar_t* title; + wchar_t* defvalue; + wchar_t* value; + wchar_t* tmpValue; VarFunc vf[VF_COUNT]; }; @@ -60,7 +60,7 @@ extern TemplateInfo templates[TPL_COUNT]; void LoadTemplates(); void SaveTemplates(); -wchar_t *TplFormatString(int tpl, MCONTACT hContact, HistoryArray::ItemData *args); -wchar_t *TplFormatStringEx(int tpl, wchar_t *sztpl, MCONTACT hContact, HistoryArray::ItemData *args); +wchar_t* TplFormatString(int tpl, MCONTACT hContact, HistoryArray::ItemData* args); +wchar_t* TplFormatStringEx(int tpl, wchar_t* sztpl, MCONTACT hContact, HistoryArray::ItemData* args); #endif // __templates_h__ \ No newline at end of file -- cgit v1.2.3