diff options
author | Tobias Weimer <wishmaster51@googlemail.com> | 2012-11-03 19:56:33 +0000 |
---|---|---|
committer | Tobias Weimer <wishmaster51@googlemail.com> | 2012-11-03 19:56:33 +0000 |
commit | fe844a9cc0b23a1c1a9906fe606c651f453ff8ec (patch) | |
tree | beb9d373fa74f1ff9ac82f0839424ab06d17af74 /plugins/StopSpamPlus/src/options.cpp | |
parent | af54d0aa9a04ffa55e25c74e383521e5954b5aa1 (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/options.cpp')
-rw-r--r-- | plugins/StopSpamPlus/src/options.cpp | 16 |
1 files changed, 8 insertions, 8 deletions
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);
|