From 1476201c0d21a547cc0729b6f3511090eb322035 Mon Sep 17 00:00:00 2001 From: Daiki Ueno Date: Sat, 3 May 2014 04:29:37 +0900 Subject: [PATCH] Fix typo in commit f597467a --- gettext-tools/src/xgettext.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gettext-tools/src/xgettext.c b/gettext-tools/src/xgettext.c index c1697c231..ca957fd47 100644 --- a/gettext-tools/src/xgettext.c +++ b/gettext-tools/src/xgettext.c @@ -3156,7 +3156,7 @@ mixed_string_buffer_flush_curr_buffer (struct mixed_string_buffer *bp, char *curr; size_t count; - mixed_string_buffer_append_to_utf8_buffer (bp, '\0'); + mixed_string_buffer_append_to_curr_buffer (bp, '\0'); /* Convert from the source encoding to UTF-8. */ curr = from_current_source_encoding (bp->curr_buffer, bp->lcontext, @@ -3187,7 +3187,7 @@ mixed_string_buffer_append_char (struct mixed_string_buffer *bp, int c) if (c == '\n') mixed_string_buffer_flush_curr_buffer (bp, bp->line_number - 1); - mixed_string_buffer_append_to_utf8_buffer (bp, (unsigned char) c); + mixed_string_buffer_append_to_curr_buffer (bp, (unsigned char) c); } void -- 2.47.2