changeset 8425:280b8a0ee061

Fix syntax error.
author Bruno Haible <bruno@clisp.org>
date Sun, 11 Mar 2007 22:58:33 +0000
parents ec3450ce9889
children afb03bff7144
files ChangeLog lib/unistr/u32-mbtouc-unsafe.c
diffstat 2 files changed, 5 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2007-03-11  Bruno Haible  <bruno@clisp.org>
+
+	* lib/unistr/u32-mbtouc-unsafe.c (u32_mbtouc_unsafe): Fix syntax error.
+
 2007-03-11  Bruno Haible  <bruno@clisp.org>
 
 	* lib/vasnprintf.c (sprintf): Undefine.
--- a/lib/unistr/u32-mbtouc-unsafe.c
+++ b/lib/unistr/u32-mbtouc-unsafe.c
@@ -33,8 +33,8 @@
   if (c < 0xd800 || (c >= 0xe000 && c < 0x110000))
 #endif
     *puc = c;
+#if CONFIG_UNICODE_SAFETY
   else
-#if CONFIG_UNICODE_SAFETY
     /* invalid multibyte character */
     *puc = 0xfffd;
 #endif