From bbf5547bd9970c6e9843b03e11812490f995f6e6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert=20P=C3=B6sel?= Date: Thu, 16 May 2013 22:10:48 +0000 Subject: Omegle: Translate fixes - not ideal, but ain't nobody got time for that yet. git-svn-id: http://svn.miranda-ng.org/main/trunk@4698 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- protocols/Omegle/src/communication.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'protocols/Omegle/src') diff --git a/protocols/Omegle/src/communication.cpp b/protocols/Omegle/src/communication.cpp index 033068b872..9ea04e1b60 100644 --- a/protocols/Omegle/src/communication.cpp +++ b/protocols/Omegle/src/communication.cpp @@ -393,7 +393,7 @@ bool Omegle_client::start() char str[255]; mir_snprintf(str, sizeof(str), Translate("Connected to server %s. There are %s users online now."), server_.c_str(), count.c_str()); - TCHAR *msg = mir_a2t_cp(str,CP_UTF8); + TCHAR *msg = mir_a2t(str); parent->UpdateChat(NULL, msg); mir_free(msg); } @@ -401,7 +401,7 @@ bool Omegle_client::start() char str[255]; mir_snprintf(str, sizeof(str), Translate("Connected to server %s."), server_.c_str()); - TCHAR *msg = mir_a2t_cp(str,CP_UTF8); + TCHAR *msg = mir_a2t(str); parent->UpdateChat(NULL, msg); mir_free(msg); } @@ -552,7 +552,7 @@ bool Omegle_client::events( ) like = Translate("You and the Stranger both like: ") + like; - TCHAR *msg = mir_a2t_cp(like.c_str(),CP_UTF8); + TCHAR *msg = mir_a2t(like.c_str()); parent->SetTopic(msg); mir_free(msg); } @@ -652,7 +652,7 @@ bool Omegle_client::events( ) char str[255]; mir_snprintf(str, sizeof(str), Translate("%s disconnected."), Translate(stranger.c_str())); - TCHAR *msg = mir_a2t_cp(str, CP_UTF8); + TCHAR *msg = mir_a2t(str); parent->UpdateChat(NULL, msg); mir_free(msg); @@ -687,7 +687,7 @@ bool Omegle_client::events( ) error = Translate("Error: ") + error; - TCHAR *msg = mir_a2t_cp(error.c_str(),CP_UTF8); + TCHAR *msg = mir_a2t(error.c_str()); parent->UpdateChat(NULL, msg); mir_free(msg); } -- cgit v1.2.3