diff options
Diffstat (limited to 'plugins/StopSpamPlus/src/utils.cpp')
-rw-r--r-- | plugins/StopSpamPlus/src/utils.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/StopSpamPlus/src/utils.cpp b/plugins/StopSpamPlus/src/utils.cpp index f2aea2b380..897c403178 100644 --- a/plugins/StopSpamPlus/src/utils.cpp +++ b/plugins/StopSpamPlus/src/utils.cpp @@ -31,13 +31,13 @@ bool IsExistMyMessage(MCONTACT hContact) return false;
}
-tstring variables_parse(tstring const &tstrFormat, MCONTACT hContact)
+tstring variables_parse(const wchar_t *tstrFormat, MCONTACT hContact)
{
if (ServiceExists(MS_VARS_FORMATSTRING)) {
FORMATINFO fi;
memset(&fi, 0, sizeof(fi));
fi.cbSize = sizeof(fi);
- fi.tszFormat = wcsdup(tstrFormat.c_str());
+ fi.tszFormat = wcsdup(tstrFormat);
fi.hContact = hContact;
fi.flags |= FIF_TCHAR;
wchar_t *tszParsed = (wchar_t *)CallService(MS_VARS_FORMATSTRING, (WPARAM)&fi, 0);
|