From: Bruno Haible Date: Sat, 10 May 2008 12:45:14 +0000 (+0000) Subject: Update after module 'linebreak' was split. X-Git-Tag: v0.18~429 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fa6f179ccc48ed5b0c814213bbf9a223d3ecbca9;p=thirdparty%2Fgettext.git Update after module 'linebreak' was split. --- diff --git a/gettext-tools/src/ChangeLog b/gettext-tools/src/ChangeLog index 8a4f3835e..ef5315712 100644 --- a/gettext-tools/src/ChangeLog +++ b/gettext-tools/src/ChangeLog @@ -1,3 +1,9 @@ +2008-05-10 Bruno Haible + + * write-po.c: Include unilbrk.h instead of linebreak.h. + (wrap): Update. + * po-lex.c: Don't include linebreak.h. + 2008-04-25 Bruno Haible * lang-table.c (language_table): Add Beja. Remove Adangme, Banda, diff --git a/gettext-tools/src/po-lex.c b/gettext-tools/src/po-lex.c index 1a37ae784..614abc43d 100644 --- a/gettext-tools/src/po-lex.c +++ b/gettext-tools/src/po-lex.c @@ -1,5 +1,5 @@ /* GNU gettext - internationalization aids - Copyright (C) 1995-1999, 2000-2007 Free Software Foundation, Inc. + Copyright (C) 1995-1999, 2000-2008 Free Software Foundation, Inc. This file was written by Peter Miller . Multibyte character handling by Bruno Haible . @@ -37,7 +37,6 @@ #endif #include "c-ctype.h" -#include "linebreak.h" #include "uniwidth.h" #include "gettext.h" #include "po-charset.h" diff --git a/gettext-tools/src/write-po.c b/gettext-tools/src/write-po.c index 982d465c0..fe8f0ada2 100644 --- a/gettext-tools/src/write-po.c +++ b/gettext-tools/src/write-po.c @@ -37,7 +37,7 @@ #include "c-ctype.h" #include "po-charset.h" #include "format.h" -#include "linebreak.h" +#include "unilbrk.h" #include "msgl-ascii.h" #include "write-catalog.h" #include "xalloc.h" @@ -924,7 +924,7 @@ internationalized messages should not contain the `\\%c' escape sequence"), startcol -= startcol_after_break; /* Do line breaking on the portion. */ - mbs_width_linebreaks (portion, portion_len, width, startcol, 0, + ulc_width_linebreaks (portion, portion_len, width, startcol, 0, overrides, canon_charset, linebreaks); /* If this is the first line, and we are not using the indented