summaryrefslogtreecommitdiff
path: root/plugins/StopSpamPlus/src/options.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/StopSpamPlus/src/options.cpp')
-rw-r--r--plugins/StopSpamPlus/src/options.cpp16
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);