diff options
Diffstat (limited to 'plugins/DbEditorPP/src')
| -rw-r--r-- | plugins/DbEditorPP/src/exportimport.cpp | 8 | ||||
| -rw-r--r-- | plugins/DbEditorPP/src/settinglist.cpp | 2 | 
2 files changed, 5 insertions, 5 deletions
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);
  | 
