]> git.lyx.org Git - lyx.git/blobdiff - src/tex2lyx/math.C
Bug fix; ensure that all is Ok after the combox is moved with
[lyx.git] / src / tex2lyx / math.C
index a170da7db9f29a74aecfd74b293919b2b987a5dc..ea3cc9d4e03374e0718bf74127466452b611aa73 100644 (file)
@@ -121,7 +121,7 @@ void parse_math(Parser & p, ostream & os, unsigned flags, const mode_type mode)
                }
 
                else if (t.cat() == catComment) {
-                       if (t.cs().size())
+                       if (!t.cs().empty())
                                cerr << "Ignoring comment: " << t.asInput();
                        else
                                // "%\n" combination