Fix syntax error.
authorBruno Haible <bruno@clisp.org>
Sun, 11 Mar 2007 22:58:33 +0000 (22:58 +0000)
committerBruno Haible <bruno@clisp.org>
Sun, 11 Mar 2007 22:58:33 +0000 (22:58 +0000)
ChangeLog
lib/unistr/u32-mbtouc-unsafe.c

index 7d34cd2..f0e6243 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,9 @@
 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.
 
 2007-03-11  Bruno Haible  <bruno@clisp.org>
index 25e617c..d82359b 100644 (file)
@@ -33,8 +33,8 @@ u32_mbtouc_unsafe (ucs4_t *puc, const uint32_t *s, size_t n)
   if (c < 0xd800 || (c >= 0xe000 && c < 0x110000))
 #endif
     *puc = c;
-  else
 #if CONFIG_UNICODE_SAFETY
+  else
     /* invalid multibyte character */
     *puc = 0xfffd;
 #endif