From: Bruno Haible Date: Sun, 11 Mar 2007 22:58:33 +0000 (+0000) Subject: Fix syntax error. X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1cc2e7be52496103a237aa8dfe7850ff80544073;p=pspp Fix syntax error. --- diff --git a/ChangeLog b/ChangeLog index 7d34cd2142..f0e6243d4e 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2007-03-11 Bruno Haible + + * lib/unistr/u32-mbtouc-unsafe.c (u32_mbtouc_unsafe): Fix syntax error. + 2007-03-11 Bruno Haible * lib/vasnprintf.c (sprintf): Undefine. diff --git a/lib/unistr/u32-mbtouc-unsafe.c b/lib/unistr/u32-mbtouc-unsafe.c index 25e617c2ef..d82359b557 100644 --- a/lib/unistr/u32-mbtouc-unsafe.c +++ b/lib/unistr/u32-mbtouc-unsafe.c @@ -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