summaryrefslogtreecommitdiff
path: root/plugins/Chat/log.c
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/Chat/log.c')
-rw-r--r--plugins/Chat/log.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/plugins/Chat/log.c b/plugins/Chat/log.c
index a1b94a5108..665ab8939c 100644
--- a/plugins/Chat/log.c
+++ b/plugins/Chat/log.c
@@ -216,11 +216,7 @@ static int Log_AppendRTF(LOGSTREAMDATA* streamData, BOOL simpleMode, char **buff
else if (*line > 0 && *line < 128) {
*d++ = (char) *line;
}
- #if defined( _UNICODE )
- else d += sprintf(d, "\\u%u ?", (WORD)*line);
- #else
- else d += sprintf(d, "\\'%02x", (BYTE)*line);
- #endif
+ else d += sprintf(d, "\\u%u ?", (WORD)*line);
}
*cbBufferEnd = (int) (d - *buffer);