diff options
author | Kirill Volinsky <mataes2007@gmail.com> | 2013-09-16 14:07:07 +0000 |
---|---|---|
committer | Kirill Volinsky <mataes2007@gmail.com> | 2013-09-16 14:07:07 +0000 |
commit | 376a1a5f4c37183a64aa83b0225ce9bb20c8605b (patch) | |
tree | 6182f02b46d695b6bfb859adc63277633b40fdc5 /protocols/Twitter/src/proto.cpp | |
parent | 25b8dcd3e31a9b09ce6180d34273d68242791d79 (diff) |
oops..revert
git-svn-id: http://svn.miranda-ng.org/main/trunk@6086 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/Twitter/src/proto.cpp')
-rw-r--r-- | protocols/Twitter/src/proto.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/protocols/Twitter/src/proto.cpp b/protocols/Twitter/src/proto.cpp index bbf450035b..4130ce44a3 100644 --- a/protocols/Twitter/src/proto.cpp +++ b/protocols/Twitter/src/proto.cpp @@ -474,7 +474,7 @@ void TwitterProto::SendTweetWorker(void *p) if (p == 0)
return;
- char *text = mir_utf8encode((char *)p);
+ char *text = static_cast<char*>(p);
if (strlen(text) > 140) { // looks like the chat max outgoing msg thing doesn't work, so i'll do it here.
TCHAR errorPopup[280];
mir_sntprintf(errorPopup,SIZEOF(errorPopup), _T("Don't be crazy! Everyone knows the max tweet size is 140, and you're trying to fit %d chars in there?"), strlen(text));
@@ -483,7 +483,7 @@ void TwitterProto::SendTweetWorker(void *p) }
ScopedLock s(twitter_lock_);
- twit_.set_status((char *)p);
+ twit_.set_status(text);
mir_free(text);
}
|