From 30dc3a2f0f14446cc104067c0545b613e20b49b5 Mon Sep 17 00:00:00 2001 From: Tobias Weimer Date: Thu, 14 Feb 2013 10:08:28 +0000 Subject: - fixed compiler warning - one more translation fix git-svn-id: http://svn.miranda-ng.org/main/trunk@3597 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/Variables/src/help.cpp | 6 +++--- plugins/Variables/src/variables.h | 6 ------ 2 files changed, 3 insertions(+), 9 deletions(-) (limited to 'plugins/Variables') diff --git a/plugins/Variables/src/help.cpp b/plugins/Variables/src/help.cpp index 1fabf8fa49..3abf3117cd 100644 --- a/plugins/Variables/src/help.cpp +++ b/plugins/Variables/src/help.cpp @@ -832,8 +832,8 @@ static INT_PTR CALLBACK helpInfoDlgProc(HWND hwndDlg,UINT msg,WPARAM wParam,LPAR { switch(msg) { case WM_INITDIALOG: - SetDlgItemTextA(hwndDlg, IDC_HELPDESC, \ -"--- Special characters ---\r\n\r\n\ + SetDlgItemText(hwndDlg, IDC_HELPDESC, \ +LPGENT("--- Special characters ---\r\n\r\n\ The following characters have a special meaning in a formatting string:\r\n\r\n\ ?()\r\n\ This will parse the function given the arguments, the result will be parsed again. Example: Today is ?cdate(yyyy/MM/dd).\r\n\r\n\ @@ -853,7 +853,7 @@ Whenever a functions requires a contact as an argument, you can specify it in tw A contact will be searched which will have value x for its property y, y can be one of the following:\r\n\ first, last, nick, email, id or display\r\n\r\n\ For example: ?contact(miranda@hotmail.com,email) or ?contact(Miranda,nick). The contact function will return either a unique contact according to the arguments or nothing if none or multiple contacts exists with the given property.\ -"); +")); TranslateDialogDefault(hwndDlg); break; diff --git a/plugins/Variables/src/variables.h b/plugins/Variables/src/variables.h index 372719bfec..2029c5d848 100644 --- a/plugins/Variables/src/variables.h +++ b/plugins/Variables/src/variables.h @@ -17,12 +17,6 @@ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ - -#define MIRANDA_VER 0x0A00 - -#define _CRT_SECURE_NO_WARNINGS -#define _CRT_NON_CONFORMING_SWPRINTFS - #include #include -- cgit v1.2.3