From d9c98bcdfca6da51a1a82dc6c0dc5996b3b6cd6d Mon Sep 17 00:00:00 2001 From: George Hazan Date: Sun, 30 Nov 2014 21:20:14 +0000 Subject: new sorting functions applied git-svn-id: http://svn.miranda-ng.org/main/trunk@11180 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/DbEditorPP/src/exportimport.cpp | 8 ++++---- plugins/DbEditorPP/src/settinglist.cpp | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) (limited to 'plugins/DbEditorPP/src') diff --git a/plugins/DbEditorPP/src/exportimport.cpp b/plugins/DbEditorPP/src/exportimport.cpp index 3141423c99..d0644db814 100644 --- a/plugins/DbEditorPP/src/exportimport.cpp +++ b/plugins/DbEditorPP/src/exportimport.cpp @@ -444,7 +444,7 @@ void importSettings(MCONTACT hContact, char *importstring ) // get the type type = *(end+1); - if (lstrcmp(module, "CList") == 0 && lstrcmp(setting, "Group") == 0) + if (mir_tstrcmp(module, "CList") == 0 && mir_tstrcmp(setting, "Group") == 0) { WCHAR* GroupName = mir_a2u(end+2); if (!GroupName) @@ -649,7 +649,7 @@ void ImportSettingsFromFileMenuItem(MCONTACT hContact, char* FilePath) HANDLE hFile, hMap; PBYTE pFile = NULL; DWORD offset = 0; - if (lstrcmp(FilePath, "") == 0) + if (mir_tstrcmp(FilePath, "") == 0) offset = Openfile2Import(szFileNames); else { @@ -659,7 +659,7 @@ void ImportSettingsFromFileMenuItem(MCONTACT hContact, char* FilePath) mir_tstrcpy(szFileNames, ""); } - if (!lstrcmp(szFileNames, "") == 0) + if (!mir_tstrcmp(szFileNames, "") == 0) { if ((DWORD)mir_strlen(szFileNames) < offset) { @@ -698,7 +698,7 @@ void ImportSettingsFromFileMenuItem(MCONTACT hContact, char* FilePath) break; } - if (lstrcmp(FilePath, "") == 0) + if (mir_tstrcmp(FilePath, "") == 0) refreshTree(1); } } diff --git a/plugins/DbEditorPP/src/settinglist.cpp b/plugins/DbEditorPP/src/settinglist.cpp index ee91870904..b3b5586ade 100644 --- a/plugins/DbEditorPP/src/settinglist.cpp +++ b/plugins/DbEditorPP/src/settinglist.cpp @@ -1005,7 +1005,7 @@ void SettingsListRightClick(HWND hwnd, WPARAM wParam, LPARAM lParam) // hwnd her ///////////////////////// convert to submenu case MENU_VIEWDECRYPT: if (!db_get(hContact, module, setting, &dbv) && dbv.type == DBVT_ASCIIZ) { - if (lstrcmpA(setting, "LoginPassword")) + if (mir_strcmp(setting, "LoginPassword")) msg(dbv.pszVal, Translate("Decoded string..")); else { char *str = mir_strdup(dbv.pszVal); -- cgit v1.2.3