diff options
Diffstat (limited to 'messages.cpp')
-rw-r--r-- | messages.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/messages.cpp b/messages.cpp index 9dfe9d7..a97e433 100644 --- a/messages.cpp +++ b/messages.cpp @@ -42,6 +42,8 @@ int RecvMsgSvc(WPARAM w, LPARAM l) { //check for gpg related data wchar_t *tmp = mir_utf8decodeW(msg); + if(!tmp) + tmp = mir_a2t(msg); wstring str = tmp; mir_free(tmp); wstring::size_type s1 = wstring::npos, s2 = wstring::npos; |