From: Bruno Haible Date: Wed, 12 Jan 2005 13:11:38 +0000 (+0000) Subject: Add a patch from gnulib. X-Git-Tag: v0.14.2~154 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2a1a198b71bdb74d6a93eaffea87e21724bc4c6f;p=thirdparty%2Fgettext.git Add a patch from gnulib. --- diff --git a/gettext-tools/lib/ChangeLog b/gettext-tools/lib/ChangeLog index 0d89ab906..e0d5bab3d 100644 --- a/gettext-tools/lib/ChangeLog +++ b/gettext-tools/lib/ChangeLog @@ -100,6 +100,10 @@ SIG_IGN. Reported by Paul Eggert. +2004-11-11 Jim Meyering + + * linebreak.c: Remove trailing blanks. + 2004-11-10 Paul Eggert * quotearg.c (struct quoting_options): Use unsigned int for diff --git a/gettext-tools/lib/linebreak.c b/gettext-tools/lib/linebreak.c index c063d2f0d..375802719 100644 --- a/gettext-tools/lib/linebreak.c +++ b/gettext-tools/lib/linebreak.c @@ -1032,7 +1032,7 @@ u8_width_linebreaks (const unsigned char *s, size_t n, /* No line break for the moment, may be turned into UC_BREAK_POSSIBLE later, via last_p. */ } - + *p = UC_BREAK_PROHIBITED; w = uc_width (uc, encoding); @@ -1118,7 +1118,7 @@ u16_width_linebreaks (const unsigned short *s, size_t n, /* No line break for the moment, may be turned into UC_BREAK_POSSIBLE later, via last_p. */ } - + *p = UC_BREAK_PROHIBITED; w = uc_width (uc, encoding); @@ -1201,7 +1201,7 @@ u32_width_linebreaks (const unsigned int *s, size_t n, /* No line break for the moment, may be turned into UC_BREAK_POSSIBLE later, via last_p. */ } - + *p = UC_BREAK_PROHIBITED; w = uc_width (uc, encoding);