summaryrefslogtreecommitdiff
path: root/protocols/Twitter/chat.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2012-06-10 15:23:07 +0000
committerGeorge Hazan <george.hazan@gmail.com>2012-06-10 15:23:07 +0000
commitb7e047f64d8b79e5b6cf9ea682a09d575821129c (patch)
tree63853a1002e0c7976b7b066288009e3319496fcf /protocols/Twitter/chat.cpp
parent101ca36412b3e7b8851b6b48a4f6cbc17d9f9eff (diff)
fix for the russian tweets' sending
git-svn-id: http://svn.miranda-ng.org/main/trunk@380 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/Twitter/chat.cpp')
-rw-r--r--protocols/Twitter/chat.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/protocols/Twitter/chat.cpp b/protocols/Twitter/chat.cpp
index 8117f4371c..9dda6790ec 100644
--- a/protocols/Twitter/chat.cpp
+++ b/protocols/Twitter/chat.cpp
@@ -71,12 +71,12 @@ int TwitterProto::OnChatOutgoing(WPARAM wParam,LPARAM lParam)
{
case GC_USER_MESSAGE: {
text = mir_t2a_cp(hook->ptszText,CP_UTF8);
- LOG("**Chat - Outgoing message: %s", text);
+ LOG (_T("**Chat - Outgoing message: %s", text));
std::string tweet(text);
replaceAll(tweet, "%%", "%"); // the chat plugin will turn "%" into "%%", so we have to change it back :/
- LOG("**Chat - Outgoing message after replace: %s", tweet);
+ LOG (_T("**Chat - Outgoing message after replace: %s", tweet));
char * varTweet;
varTweet = mir_utf8encode(tweet.c_str());