summaryrefslogtreecommitdiff
path: root/src/core/stdurl
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/stdurl')
-rw-r--r--src/core/stdurl/url.cpp2
-rw-r--r--src/core/stdurl/urldialogs.cpp4
2 files changed, 3 insertions, 3 deletions
diff --git a/src/core/stdurl/url.cpp b/src/core/stdurl/url.cpp
index 40cb58fcda..26775df7af 100644
--- a/src/core/stdurl/url.cpp
+++ b/src/core/stdurl/url.cpp
@@ -98,7 +98,7 @@ static int ContactSettingChanged(WPARAM wParam, LPARAM lParam)
{
DBCONTACTWRITESETTING *cws = (DBCONTACTWRITESETTING*)lParam;
char *szProto = GetContactProto(wParam);
- if (lstrcmpA(cws->szModule, "CList") && (szProto == NULL || lstrcmpA(cws->szModule, szProto)))
+ if (mir_strcmp(cws->szModule, "CList") && (szProto == NULL || mir_strcmp(cws->szModule, szProto)))
return 0;
WindowList_Broadcast(hUrlWindowList, DM_UPDATETITLE, 0, 0);
diff --git a/src/core/stdurl/urldialogs.cpp b/src/core/stdurl/urldialogs.cpp
index 1e11c7b2c5..779055f238 100644
--- a/src/core/stdurl/urldialogs.cpp
+++ b/src/core/stdurl/urldialogs.cpp
@@ -73,7 +73,7 @@ static void sttUpdateTitle(HWND hwndDlg, MCONTACT hContact)
GetWindowText(hwndDlg, oldtitle, SIZEOF(oldtitle));
- if (lstrcmp(newtitle, oldtitle)) //swt() flickers even if the title hasn't actually changed
+ if (mir_tstrcmp(newtitle, oldtitle)) //swt() flickers even if the title hasn't actually changed
SetWindowText(hwndDlg, newtitle);
}
@@ -352,7 +352,7 @@ static void AddBrowserPageToCombo(char *url, HWND hwndCombo)
if (SendMessage(hwndCombo, CB_GETLBTEXTLEN, i, 0) >= SIZEOF(szExistingUrl))
continue;
SendMessageA(hwndCombo, CB_GETLBTEXT, i, (LPARAM)szExistingUrl);
- if ( !lstrcmpA(szExistingUrl, url)) return;
+ if ( !mir_strcmp(szExistingUrl, url)) return;
}
i = SendMessageA(hwndCombo, CB_ADDSTRING, 0, (LPARAM)url);
szItemData = mir_strdup(title);