markup: Replace a g_string_insert_len call

This lets us use the optimized inline call.
This commit is contained in:
Matthias Clasen 2023-01-13 22:19:11 -05:00
parent d102a4d8b2
commit 6bb9fdd9c7

View File

@ -881,7 +881,7 @@ add_to_partial (GMarkupParseContext *context,
} }
if (text_start != text_end) if (text_start != text_end)
g_string_insert_len (context->partial_chunk, -1, g_string_append_len (context->partial_chunk,
text_start, text_end - text_start); text_start, text_end - text_start);
} }