summaryrefslogtreecommitdiff
path: root/plugins/Chat/log.c
diff options
context:
space:
mode:
authorVadim Dashevskiy <watcherhd@gmail.com>2012-06-14 11:13:37 +0000
committerVadim Dashevskiy <watcherhd@gmail.com>2012-06-14 11:13:37 +0000
commit721aea0764451e985d575236205808bbef298244 (patch)
tree3a1c566c364e5fc2fff86b87d494497e7de6f93d /plugins/Chat/log.c
parent1784cdf49b8196219563795cf3b11b7c4c2a6746 (diff)
one more "#ifsef Unicode" removal
git-svn-id: http://svn.miranda-ng.org/main/trunk@409 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
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);