summaryrefslogtreecommitdiff
path: root/protocols/Xfire/src/options.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2014-11-30 21:20:14 +0000
committerGeorge Hazan <george.hazan@gmail.com>2014-11-30 21:20:14 +0000
commitd9c98bcdfca6da51a1a82dc6c0dc5996b3b6cd6d (patch)
treea6f925c63bc31e4b4dba301183cc3b429d52d816 /protocols/Xfire/src/options.cpp
parentce2d4f19e3f810b282eb7d47d470d426ff459e1f (diff)
new sorting functions applied
git-svn-id: http://svn.miranda-ng.org/main/trunk@11180 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/Xfire/src/options.cpp')
-rw-r--r--protocols/Xfire/src/options.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/protocols/Xfire/src/options.cpp b/protocols/Xfire/src/options.cpp
index f7ee82d0ad..858683a167 100644
--- a/protocols/Xfire/src/options.cpp
+++ b/protocols/Xfire/src/options.cpp
@@ -264,7 +264,7 @@ static INT_PTR CALLBACK DlgProcOpts2(HWND hwndDlg, UINT msg, WPARAM wParam, LPAR
GetDlgItemTextA(hwndDlg, IDC_LOGIN, login, SIZEOF(login));
dbv.pszVal = NULL;
- if (db_get(NULL, protocolname, "login", &dbv) || lstrcmpA(login, dbv.pszVal))
+ if (db_get(NULL, protocolname, "login", &dbv) || mir_strcmp(login, dbv.pszVal))
reconnectRequired = 1;
if (dbv.pszVal != NULL)
db_free(&dbv);
@@ -289,7 +289,7 @@ static INT_PTR CALLBACK DlgProcOpts2(HWND hwndDlg, UINT msg, WPARAM wParam, LPAR
//nur wenn der nick erfolgreich übertragen wurde
GetDlgItemTextA(hwndDlg, IDC_NICK, login, SIZEOF(login));
dbv.pszVal = NULL;
- if (db_get(NULL, protocolname, "Nick", &dbv) || lstrcmpA(login, dbv.pszVal))
+ if (db_get(NULL, protocolname, "Nick", &dbv) || mir_strcmp(login, dbv.pszVal))
{
if (CallService(XFIRE_SET_NICK, 0, (WPARAM)login))
db_set_s(NULL, protocolname, "Nick", login);
@@ -299,7 +299,7 @@ static INT_PTR CALLBACK DlgProcOpts2(HWND hwndDlg, UINT msg, WPARAM wParam, LPAR
GetDlgItemTextA(hwndDlg, IDC_PASSWORD, str, SIZEOF(str));
dbv.pszVal = NULL;
- if (db_get(NULL, protocolname, "password", &dbv) || lstrcmpA(str, dbv.pszVal))
+ if (db_get(NULL, protocolname, "password", &dbv) || mir_strcmp(str, dbv.pszVal))
reconnectRequired = 1;
if (dbv.pszVal != NULL)
db_free(&dbv);