]> git.lyx.org Git - lyx.git/blobdiff - src/Cursor.cpp
Fix part of bug #6127: Roundtrip Lyx->Latex->Lyx fails.
[lyx.git] / src / Cursor.cpp
index 4785ce32643df208e1bdaa22dc8cd9113faf7e68..f12f442fd89650ee314e9dda5585b60fbee2e6ce 100644 (file)
@@ -1590,7 +1590,7 @@ void Cursor::normalize()
                        << pos() << ' ' << lastpos() <<  " in idx: " << idx()
                       << " in atom: '";
                odocstringstream os;
-               WriteStream wi(os, false, true, false);
+               WriteStream wi(os, false, true, WriteStream::wsDefault);
                inset().asInsetMath()->write(wi);
                lyxerr << to_utf8(os.str()) << endl;
                pos() = lastpos();