From ffa5f953273e09eb8c24c9a4cf3febe7e3b6996b Mon Sep 17 00:00:00 2001 From: Noah Levitt Date: Wed, 6 Aug 2003 01:25:46 +0000 Subject: [PATCH] Fix small mistake in last commit. (still falls in the same Changelog entry) (#118957) --- glib/guniprop.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/glib/guniprop.c b/glib/guniprop.c index a76452b92..9cef6e7cd 100644 --- a/glib/guniprop.c +++ b/glib/guniprop.c @@ -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