]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/MathSupport.cpp
A little cleanup of the layout files.
[lyx.git] / src / mathed / MathSupport.cpp
index 948571fdd07c73fc0ffc814bdae83a2c57f9607b..5b08f70bd41abdbec3d1a51d0170915464bcdeb7 100644 (file)
@@ -4,7 +4,7 @@
  * Licence details can be found in the file COPYING.
  *
  * \author Alejandro Aguilar Sierra
- * \author André Pönitz
+ * \author André Pönitz
  *
  * Full author contact details are available in file CREDITS.
  */
@@ -688,7 +688,7 @@ docstring asString(MathData const & ar)
 void asArray(docstring const & str, MathData & ar, Parse::flags pf)
 {
        bool quiet = pf & Parse::QUIET;
-       if ((str.size() == 1 || !mathed_parse_cell(ar, str, pf)) && quiet)
+       if ((str.size() == 1 && quiet) || (!mathed_parse_cell(ar, str, pf) && quiet))
                mathed_parse_cell(ar, str, pf | Parse::VERBATIM);
 }