From d223cc666c83b7bfd5df5ed9840b0fcb3d06d00d Mon Sep 17 00:00:00 2001 From: fredkiefer Date: Sun, 2 May 2010 09:47:56 +0000 Subject: [PATCH] Fix extra space for Umlaut characters in RTF introduced with last change. git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@30277 72102866-910b-0410-8b05-ffd578937521 --- ChangeLog | 6 ++++++ TextConverters/RTF/RTFProducer.m | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 2af937fa9..0d9c13bd6 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2010-05-02 Fred Kiefer + + * TextConverters/RTF/RTFProducer.m (-_stringWithRTFCharacters:): + Remove extra space after \'xx characters accidentially introduced + with last change. + 2010-05-01 Fred Kiefer * TextConverters/RTF/RTFProducer.m diff --git a/TextConverters/RTF/RTFProducer.m b/TextConverters/RTF/RTFProducer.m index 04e1b2c9d..a68864f6d 100644 --- a/TextConverters/RTF/RTFProducer.m +++ b/TextConverters/RTF/RTFProducer.m @@ -779,7 +779,7 @@ { char unicodeCommand[16]; - snprintf(unicodeCommand, 16, "\\'%X ", (short)c); + snprintf(unicodeCommand, 16, "\\'%X", (short)c); unicodeCommand[15] = '\0'; [resultData appendBytes: unicodeCommand