]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/command_inset.C
Fix reading of math macros
[lyx.git] / src / mathed / command_inset.C
index 42a0f5c1e7111055d99a18ce89023a69bfb36612..5c070513c8941243fb42d8c246d72e9dde2837e2 100644 (file)
@@ -43,10 +43,10 @@ CommandInset::dispatch(FuncRequest const & cmd, idx_type & idx, pos_type & pos)
 
 void CommandInset::write(WriteStream & os) const
 {
-       os << "\\" << name_.c_str();
+       os << '\\' << name_.c_str();
        if (cell(1).size())
-               os << "[" << cell(1) << "]";
-       os << "{" << cell(0) << "}";
+               os << '[' << cell(1) << ']';
+       os << '{' << cell(0) << '}';
 }