From fe844a9cc0b23a1c1a9906fe606c651f453ff8ec Mon Sep 17 00:00:00 2001 From: Tobias Weimer Date: Sat, 3 Nov 2012 19:56:33 +0000 Subject: minor options layout issue (ticket:152) git-svn-id: http://svn.miranda-ng.org/main/trunk@2173 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/StopSpamPlus/src/options.cpp | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'plugins/StopSpamPlus/src/options.cpp') diff --git a/plugins/StopSpamPlus/src/options.cpp b/plugins/StopSpamPlus/src/options.cpp index f823fe8e1d..505e0dc801 100644 --- a/plugins/StopSpamPlus/src/options.cpp +++ b/plugins/StopSpamPlus/src/options.cpp @@ -1,12 +1,12 @@ #include "headers.h" -char * pluginDescription = "No more spam! Robots can't go! Only human beings invited!\r\n\r\n" -"This plugin works pretty simple:\r\n" -"While messages from users on your contact list go as there is no any anti-spam software, " -"messages from unknown users are not delivered to you. " -"But also they are not ignored, this plugin replies with a simple question, " -"and if user gives the right answer plugin adds him to your contact list " -"so that he can contact you."; +TCHAR * pluginDescription = _T("No more spam! Robots can't go! Only human beings invited!\r\n\r\n") +_T("This plugin works pretty simple:\r\n") +_T("While messages from users on your contact list go as there is no any anti-spam software, ") +_T("messages from unknown users are not delivered to you. ") +_T("But also they are not ignored, this plugin replies with a simple question, ") +_T("and if user gives the right answer plugin adds him to your contact list ") +_T("so that he can contact you."); TCHAR const * infTalkProtPrefix = _T("StopSpam automatic message:\r\n"); char const * answeredSetting = "Answered"; char const * questCountSetting = "QuestionCount"; @@ -18,7 +18,7 @@ INT_PTR CALLBACK MainDlgProc(HWND hwnd, UINT msg, WPARAM wParam, LPARAM lParam) { case WM_INITDIALOG: { - SetDlgItemTextA(hwnd, ID_DESCRIPTION, pluginDescription); + SetDlgItemText(hwnd, ID_DESCRIPTION, pluginDescription); TranslateDialogDefault(hwnd); SetDlgItemInt(hwnd, ID_MAXQUESTCOUNT, plSets->MaxQuestCount.Get(), FALSE); SendDlgItemMessage(hwnd, ID_INFTALKPROT, BM_SETCHECK, plSets->InfTalkProtection.Get() ? BST_CHECKED : BST_UNCHECKED, 0); -- cgit v1.2.3