summaryrefslogtreecommitdiffstats
path: root/gettext-tools
diff options
context:
space:
mode:
authorBruno Haible <bruno@clisp.org>2008-05-10 12:45:14 +0000
committerBruno Haible <bruno@clisp.org>2009-06-23 12:15:41 +0200
commitfa6f179ccc48ed5b0c814213bbf9a223d3ecbca9 (patch)
treeab4c1692c93095b01fbc9a37ffb18623c1819424 /gettext-tools
parentda93a247cd59369f60d68d3dbecfa4d588e93916 (diff)
downloadexternal_gettext-fa6f179ccc48ed5b0c814213bbf9a223d3ecbca9.zip
external_gettext-fa6f179ccc48ed5b0c814213bbf9a223d3ecbca9.tar.gz
external_gettext-fa6f179ccc48ed5b0c814213bbf9a223d3ecbca9.tar.bz2
Update after module 'linebreak' was split.
Diffstat (limited to 'gettext-tools')
-rw-r--r--gettext-tools/src/ChangeLog6
-rw-r--r--gettext-tools/src/po-lex.c3
-rw-r--r--gettext-tools/src/write-po.c4
3 files changed, 9 insertions, 4 deletions
diff --git a/gettext-tools/src/ChangeLog b/gettext-tools/src/ChangeLog
index 8a4f383..ef53157 100644
--- a/gettext-tools/src/ChangeLog
+++ b/gettext-tools/src/ChangeLog
@@ -1,3 +1,9 @@
+2008-05-10 Bruno Haible <bruno@clisp.org>
+
+ * 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 <bruno@clisp.org>
* 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 1a37ae7..614abc4 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 <millerp@canb.auug.org.au>.
Multibyte character handling by Bruno Haible <haible@clisp.cons.org>.
@@ -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 982d465..fe8f0ad 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