diff options
author | Mataes <mataes2007@gmail.com> | 2020-04-04 01:08:35 +0300 |
---|---|---|
committer | Mataes <mataes2007@gmail.com> | 2020-04-04 01:08:35 +0300 |
commit | 28108cf449cb49c4f969f615032522badd071734 (patch) | |
tree | e99ee51220f1f1aab9207e8fb1a34cc221b74cee /plugins/NewStory/src/templates.h | |
parent | 067cd1176e7b6e57107e3926ddaba3a7e7880949 (diff) |
newstory: minor cleanup
Diffstat (limited to 'plugins/NewStory/src/templates.h')
-rw-r--r-- | plugins/NewStory/src/templates.h | 20 |
1 files changed, 10 insertions, 10 deletions
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 |