summaryrefslogtreecommitdiff
path: root/protocols/IcqOscarJ/src/i18n.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2018-07-10 20:34:46 +0300
committerGeorge Hazan <ghazan@miranda.im>2018-07-10 20:34:53 +0300
commit916d3c8fc91d4290aaf5625db636b6cf102306a6 (patch)
tree2a29cc423ec49112abf48066369629ce92fc068d /protocols/IcqOscarJ/src/i18n.cpp
parent8b981c349ce9489de8c3866bac909f091bb41f8c (diff)
ICQ:
- warning fixes; - minor code cleaning
Diffstat (limited to 'protocols/IcqOscarJ/src/i18n.cpp')
-rw-r--r--protocols/IcqOscarJ/src/i18n.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/protocols/IcqOscarJ/src/i18n.cpp b/protocols/IcqOscarJ/src/i18n.cpp
index d341a7e4e7..76fdf8a09c 100644
--- a/protocols/IcqOscarJ/src/i18n.cpp
+++ b/protocols/IcqOscarJ/src/i18n.cpp
@@ -359,7 +359,7 @@ int __stdcall utf8_decode_codepage(const char *from, char **to, WORD wCp)
return 0;
}
- *to = (char*)SAFE_MALLOC((chars + 1)*sizeof(char));
+ *to = (char*)SAFE_MALLOC((chars + 1) * sizeof(char));
if (*to == nullptr) {
#ifdef _DEBUG
fprintf(stderr, "Out of memory processing string to local charset\n");
@@ -479,7 +479,7 @@ char* __stdcall unicode_to_ansi(const WCHAR *unicode)
return nullptr;
}
- char* ansi = (char*)SAFE_MALLOC((chars + 1)*sizeof(char));
+ char* ansi = (char*)SAFE_MALLOC((chars + 1) * sizeof(char));
if (ansi == nullptr) {
#ifdef _DEBUG
fprintf(stderr, "Out of memory processing string to local charset\n");