Fix small mistake in last commit. (still falls in the same Changelog entry) (#118957)
authorNoah Levitt <nlevitt@src.gnome.org>
Wed, 6 Aug 2003 01:25:46 +0000 (01:25 +0000)
committerNoah Levitt <nlevitt@src.gnome.org>
Wed, 6 Aug 2003 01:25:46 +0000 (01:25 +0000)
glib/guniprop.c

index a76452b..9cef6e7 100644 (file)
@@ -560,7 +560,7 @@ output_marks (const char **p_inout,
       if (ISMARK(t))
        {
          if (!remove_dot || c != 0x307 /* COMBINING DOT ABOVE */)
-           len += g_unichar_to_utf8 (c, out_buffer);
+           len += g_unichar_to_utf8 (c, out_buffer ? out_buffer + len : NULL);
          p = g_utf8_next_char (p);
        }
       else