summaryrefslogtreecommitdiff
path: root/protocols
diff options
context:
space:
mode:
authorRobert Pösel <robyer@seznam.cz>2013-05-16 22:10:48 +0000
committerRobert Pösel <robyer@seznam.cz>2013-05-16 22:10:48 +0000
commitbbf5547bd9970c6e9843b03e11812490f995f6e6 (patch)
tree29f28156057cb66fc1ebfe6770a6f569cf5c0d87 /protocols
parent66d13adf4909cbdcf162f2bd7373d1788510de8f (diff)
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
Diffstat (limited to 'protocols')
-rw-r--r--protocols/Omegle/src/communication.cpp10
1 files changed, 5 insertions, 5 deletions
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);
}