summaryrefslogtreecommitdiff
path: root/plugins/SecureIM/src/mmi.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/SecureIM/src/mmi.cpp')
-rw-r--r--plugins/SecureIM/src/mmi.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/SecureIM/src/mmi.cpp b/plugins/SecureIM/src/mmi.cpp
index 2269d76a51..76a6bd065b 100644
--- a/plugins/SecureIM/src/mmi.cpp
+++ b/plugins/SecureIM/src/mmi.cpp
@@ -136,11 +136,11 @@ LPSTR utf8_to_miranda(LPCSTR szUtfMsg, DWORD& flags) {
// преобразуем текст из формата миранды в чистый UTF8
LPSTR miranda_to_utf8(LPCSTR szMirMsg, DWORD flags) {
LPSTR szNewMsg;
- if(flags & PREF_UTF) {
+ if (flags & PREF_UTF) {
szNewMsg = (LPSTR) szMirMsg;
}
else
- if(flags & PREF_UNICODE) {
+ if (flags & PREF_UNICODE) {
szNewMsg = exp->utf8encode((LPCWSTR)(szMirMsg+strlen(szMirMsg)+1));
}
else {