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.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/SecureIM/src/mmi.cpp b/plugins/SecureIM/src/mmi.cpp
index 09cc5f2db3..4a6b06bbe4 100644
--- a/plugins/SecureIM/src/mmi.cpp
+++ b/plugins/SecureIM/src/mmi.cpp
@@ -75,8 +75,8 @@ LPSTR to_hex(PBYTE bin, int len) {
SAFE_FREE(m_hex);
m_hex = (LPSTR) mir_alloc(len*3+1);
LPSTR m_ptr = m_hex;
- for ( int i=0; i<len; i++ ) {
- if ( i ) {
+ for ( int i=0; i<len; i++) {
+ if (i) {
*m_ptr = ' '; m_ptr++;
}
mir_snprintf(m_ptr,4,"%02X",bin[i]);
@@ -108,7 +108,7 @@ void __fastcall safe_delete(void** p)
// преобразуем текст из чистого UTF8 в формат миранды
LPSTR utf8_to_miranda(LPCSTR szUtfMsg, DWORD& flags) {
LPSTR szNewMsg;
- if ( iCoreVersion < 0x00060000 ) {
+ if (iCoreVersion < 0x00060000) {
flags &= ~(PREF_UTF|PREF_UNICODE);
LPWSTR wszMsg = exp->utf8decode(szUtfMsg);
LPSTR szMsg = mir_u2a(wszMsg);