summaryrefslogtreecommitdiff
path: root/plugins/MetaContacts/src/meta_main.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2012-11-29 18:38:28 +0000
committerGeorge Hazan <george.hazan@gmail.com>2012-11-29 18:38:28 +0000
commitdba46ff81f211542c359349371c1d932977b5e36 (patch)
tree05792df32d6d0a68b6e43af50fba7ae6a25ba8b0 /plugins/MetaContacts/src/meta_main.cpp
parent5d5e4961ad8360b33dc8b363eae8e94c85b4c5cf (diff)
unicode metacontacts
git-svn-id: http://svn.miranda-ng.org/main/trunk@2561 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/MetaContacts/src/meta_main.cpp')
-rw-r--r--plugins/MetaContacts/src/meta_main.cpp4
1 files changed, 2 insertions, 2 deletions
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);