]> git.lyx.org Git - lyx.git/blobdiff - src/undo.C
* Painter.h:
[lyx.git] / src / undo.C
index 915e3e9a998e63e66db1a343c19b54ef0fb6692b..fa377c3e548588d92f62c57a654f37097282eee6 100644 (file)
@@ -96,7 +96,7 @@ void doRecordUndo(Undo::undo_kind kind,
        // fill in the real data to be saved
        if (cell.inMathed()) {
                // simply use the whole cell
-               undo.array = asString(cell.cell());
+               undo.array = to_utf8(asString(cell.cell()));
        } else {
                // some more effort needed here as 'the whole cell' of the
                // main LyXText _is_ the whole document.