summaryrefslogtreecommitdiff
path: root/plugins/StopSpamPlus/src/utils.cpp
diff options
context:
space:
mode:
authorTobias Weimer <wishmaster51@googlemail.com>2012-11-03 19:56:33 +0000
committerTobias Weimer <wishmaster51@googlemail.com>2012-11-03 19:56:33 +0000
commitfe844a9cc0b23a1c1a9906fe606c651f453ff8ec (patch)
treebeb9d373fa74f1ff9ac82f0839424ab06d17af74 /plugins/StopSpamPlus/src/utils.cpp
parentaf54d0aa9a04ffa55e25c74e383521e5954b5aa1 (diff)
minor options layout issue (ticket:152)
git-svn-id: http://svn.miranda-ng.org/main/trunk@2173 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/StopSpamPlus/src/utils.cpp')
-rw-r--r--plugins/StopSpamPlus/src/utils.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/plugins/StopSpamPlus/src/utils.cpp b/plugins/StopSpamPlus/src/utils.cpp
index 7d8bc28050..885af411ad 100644
--- a/plugins/StopSpamPlus/src/utils.cpp
+++ b/plugins/StopSpamPlus/src/utils.cpp
@@ -46,7 +46,6 @@ void SetDlgItemString(HWND hwndDlg, UINT idItem, std::wstring const &str)
tstring variables_parse(tstring const &tstrFormat, HANDLE hContact){
if (ServiceExists(MS_VARS_FORMATSTRING)) {
FORMATINFO fi;
- TCHAR *tszParsed;
tstring tstrResult;
ZeroMemory(&fi, sizeof(fi));
@@ -54,7 +53,7 @@ tstring variables_parse(tstring const &tstrFormat, HANDLE hContact){
fi.tszFormat = _tcsdup(tstrFormat.c_str());
fi.hContact = hContact;
fi.flags |= FIF_TCHAR;
- tszParsed = (TCHAR *)CallService(MS_VARS_FORMATSTRING, (WPARAM)&fi, 0);
+ TCHAR *tszParsed = (TCHAR *)CallService(MS_VARS_FORMATSTRING, (WPARAM)&fi, 0);
free(fi.tszFormat);
if (tszParsed) {
tstrResult = tszParsed;