mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-09-22 18:16:17 +02:00
markup: Replace a g_string_insert_len call
This lets us use the optimized inline call.
This commit is contained in:
parent
d102a4d8b2
commit
6bb9fdd9c7
@ -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);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user