]> git.ipfire.org Git - thirdparty/gettext.git/commitdiff
Fix typo in commit f597467a
authorDaiki Ueno <ueno@gnu.org>
Fri, 2 May 2014 19:29:37 +0000 (04:29 +0900)
committerDaiki Ueno <ueno@gnu.org>
Fri, 2 May 2014 19:30:02 +0000 (04:30 +0900)
gettext-tools/src/xgettext.c

index c1697c2315c66ddac449526c53cd5b4dc81a4266..ca957fd47a9e36896035a732c4c0ac72f94c4084 100644 (file)
@@ -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