summaryrefslogtreecommitdiff
path: root/plugins/IEView/TemplateHTMLBuilder.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/IEView/TemplateHTMLBuilder.cpp')
-rw-r--r--plugins/IEView/TemplateHTMLBuilder.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/plugins/IEView/TemplateHTMLBuilder.cpp b/plugins/IEView/TemplateHTMLBuilder.cpp
index f5c49bc6b4..7c8ce86562 100644
--- a/plugins/IEView/TemplateHTMLBuilder.cpp
+++ b/plugins/IEView/TemplateHTMLBuilder.cpp
@@ -63,9 +63,8 @@ char *TemplateHTMLBuilder::getAvatar(HANDLE hContact, const char * szProto) {
result = ace->szFilename;
else {
// compatibility: in M0.9 it will always be char*
- #if defined( _UNICODE )
- MultiByteToWideChar( CP_ACP, 0, (char*)ace->szFilename, -1, tmpPath, SIZEOF(tmpPath));
- #endif
+ MultiByteToWideChar( CP_ACP, 0, (char*)ace->szFilename, -1, tmpPath, SIZEOF(tmpPath));
+
}
}
}