When transitioning from internal to malloc, the strings were placed in
the wrong order to g_strconcat(). This fixes an issue with undo where
if you hit the boundary in just the right way, your undo stack will do
unexpected things.
Fixes #5506
if (!istring_is_inline (str))
old = str->u.str;
- str->u.str = g_strconcat (istring_str (str), istring_str (other), NULL);
+ str->u.str = g_strconcat (istring_str (other), istring_str (str), NULL);
str->n_bytes += other->n_bytes;
str->n_chars += other->n_chars;