From dba46ff81f211542c359349371c1d932977b5e36 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Thu, 29 Nov 2012 18:38:28 +0000 Subject: unicode metacontacts git-svn-id: http://svn.miranda-ng.org/main/trunk@2561 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/MetaContacts/src/meta_main.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'plugins/MetaContacts/src/meta_main.cpp') diff --git a/plugins/MetaContacts/src/meta_main.cpp b/plugins/MetaContacts/src/meta_main.cpp index 5ff2d14878..cf98970716 100644 --- a/plugins/MetaContacts/src/meta_main.cpp +++ b/plugins/MetaContacts/src/meta_main.cpp @@ -164,7 +164,7 @@ extern "C" __declspec(dllexport) int Load(void) HANDLE hContact = db_find_first(); while (hContact != NULL) { char *proto = GetContactProto(hContact); - if (proto && !lstrcmp( META_PROTO, proto)) { + if (proto && !lstrcmpA( META_PROTO, proto)) { db_set_w(hContact, META_PROTO, "Status", ID_STATUS_OFFLINE); db_set_dw(hContact, META_PROTO, "IdleTS", 0); db_set_b(hContact, META_PROTO, "ContactCountCheck", 0); @@ -189,7 +189,7 @@ extern "C" __declspec(dllexport) int Load(void) if (Meta_SetHandles()) { // error - db corruption if ( !db_get_b(0, META_PROTO, "DisabledMessageShown", 0)) { - MessageBox(0, Translate("Error - Database corruption.\nPlugin disabled."), Translate("MetaContacts"), MB_OK | MB_ICONERROR); + MessageBox(0, TranslateT("Error - Database corruption.\nPlugin disabled."), TranslateT("MetaContacts"), MB_OK | MB_ICONERROR); db_set_b(0, META_PROTO, "DisabledMessageShown", 1); } //Meta_HideMetaContacts(TRUE); -- cgit v1.2.3