istring: fix istring_prepend() on malloc transition
authorChristian Hergert <chergert@redhat.com>
Tue, 10 Jan 2023 21:32:38 +0000 (13:32 -0800)
committerChristian Hergert <chergert@redhat.com>
Tue, 10 Jan 2023 21:32:38 +0000 (13:32 -0800)
commit6a134551b912afdf9836ef8d89ccb8a38a222672
tree7b19e68b0e4076ed65158aa573ec09eb9cfbccb1
parent0e1ae6ad1100470e5577bbd9b9b30c20c7d31196
istring: fix istring_prepend() on malloc transition

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
gtk/gtkistringprivate.h