summaryrefslogtreecommitdiff
path: root/plugins/WebView/src/webview_services.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 /plugins/WebView/src/webview_services.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 'plugins/WebView/src/webview_services.cpp')
-rw-r--r--plugins/WebView/src/webview_services.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/plugins/WebView/src/webview_services.cpp b/plugins/WebView/src/webview_services.cpp
index 924b8ab9e6..998ec84c8b 100644
--- a/plugins/WebView/src/webview_services.cpp
+++ b/plugins/WebView/src/webview_services.cpp
@@ -97,7 +97,7 @@ int DBSettingChanged(WPARAM wParam, LPARAM lParam)
FILE *pcachefile = _tfopen(newcachepath, _T("r"));
if (pcachefile != NULL) {
fclose(pcachefile);
- if (lstrcmp(newcachepath, renamedcachepath)) {
+ if (mir_tstrcmp(newcachepath, renamedcachepath)) {
MoveFile(newcachepath, renamedcachepath);
db_set_ts(hContact, MODULENAME, CACHE_FILE_KEY, renamedcachepath);
}
@@ -112,7 +112,7 @@ int DBSettingChanged(WPARAM wParam, LPARAM lParam)
int SiteDeleted(WPARAM wParam, LPARAM lParam)
{
MCONTACT hContact = wParam;
- if (lstrcmpA(GetContactProto(hContact), MODULENAME))
+ if (mir_strcmp(GetContactProto(hContact), MODULENAME))
return 0;
ptrT contactName( db_get_tsa(hContact, MODULENAME, PRESERVE_NAME_KEY));
@@ -355,7 +355,7 @@ INT_PTR AddToList(WPARAM wParam, LPARAM lParam)
// check ID to see if the contact already exist in the database
if (db_get_ts(hContact, MODULENAME, "URL", &dbv))
continue;
- if (!lstrcmpi(psr->nick, dbv.ptszVal)) {
+ if (!mir_tstrcmpi(psr->nick, dbv.ptszVal)) {
// remove the flag for not on list and hidden, thus make the
// contact visible
// and add them on the list
@@ -406,7 +406,7 @@ INT_PTR AddToList(WPARAM wParam, LPARAM lParam)
for (MCONTACT hContact2 = db_find_first(MODULENAME); hContact2 != NULL; hContact2 = db_find_next(hContact2, MODULENAME)) {
if (!db_get_ts(hContact2, MODULENAME, PRESERVE_NAME_KEY, &dbv)) {
- if (!lstrcmpi(Newnick, dbv.ptszVal)) {
+ if (!mir_tstrcmpi(Newnick, dbv.ptszVal)) {
// remove the flag for not on list and hidden, thus make the
// contact visible
// and add them on the list