diff options
author | Tobias Weimer <wishmaster51@googlemail.com> | 2013-02-14 10:08:28 +0000 |
---|---|---|
committer | Tobias Weimer <wishmaster51@googlemail.com> | 2013-02-14 10:08:28 +0000 |
commit | 30dc3a2f0f14446cc104067c0545b613e20b49b5 (patch) | |
tree | 2dd737dc144b32288022f6bba28c6bbd33b8e727 | |
parent | 6c2dd29a022dd1289ffe9907e25e3f44d88661c5 (diff) |
- fixed compiler warning
- one more translation fix
git-svn-id: http://svn.miranda-ng.org/main/trunk@3597 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
-rw-r--r-- | plugins/Variables/src/help.cpp | 6 | ||||
-rw-r--r-- | plugins/Variables/src/variables.h | 6 |
2 files changed, 3 insertions, 9 deletions
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\
?<function>(<arguments>)\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 <tchar.h>
#include <malloc.h>
|