]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/InsetMathComment.C
This commit fixes a crash when accessing a math inset. This was due to an invalid...
[lyx.git] / src / mathed / InsetMathComment.C
index b7fde2664983f297309548586cf6037eef3653e3..f2473d70fb255b756d01ee87d57d3edb6746d233 100644 (file)
@@ -28,7 +28,8 @@ InsetMathComment::InsetMathComment()
 InsetMathComment::InsetMathComment(string const & str)
        : InsetMathNest(1)
 {
-       asArray(str, cell(0));
+       // FIXME UNICODE
+       asArray(lyx::from_utf8(str), cell(0));
 }