summaryrefslogtreecommitdiff
path: root/protocols/WhatsApp/src/proto.cpp
diff options
context:
space:
mode:
authorTobias Weimer <wishmaster51@googlemail.com>2015-11-29 08:51:28 +0000
committerTobias Weimer <wishmaster51@googlemail.com>2015-11-29 08:51:28 +0000
commit8888e419e1e874564c8bb5107a642bc6f86a3e05 (patch)
tree4484497a84bd1c9f218582f69d8008320e7bf9f4 /protocols/WhatsApp/src/proto.cpp
parentd83e44700c4270e19d4cb7117244292f800cb14f (diff)
WhatsApp:
- Updated some constants.h - Fixed error message git-svn-id: http://svn.miranda-ng.org/main/trunk@15785 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/WhatsApp/src/proto.cpp')
-rw-r--r--protocols/WhatsApp/src/proto.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/protocols/WhatsApp/src/proto.cpp b/protocols/WhatsApp/src/proto.cpp
index dcc8367e16..b4cb2bf683 100644
--- a/protocols/WhatsApp/src/proto.cpp
+++ b/protocols/WhatsApp/src/proto.cpp
@@ -279,7 +279,7 @@ bool WhatsAppProto::Register(int state, const string &cc, const string &number,
if (reason == "stale")
NotifyEvent(ptszTitle, TranslateT("Registration failed due to stale code. Please request a new code"), NULL, WHATSAPP_EVENT_CLIENT);
else {
- CMString tmp(FORMAT, TranslateT("Registration failed. Reason: %s"), reason.c_str());
+ CMString tmp(FORMAT, TranslateT("Registration failed. Reason: %s"), _A2T(reason.c_str()));
NotifyEvent(ptszTitle, tmp, NULL, WHATSAPP_EVENT_CLIENT);
}