X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Ftex2lyx%2Fmath.C;h=ea3cc9d4e03374e0718bf74127466452b611aa73;hb=d68ec289063394f24296ee098f5113e9242f2b0b;hp=a170da7db9f29a74aecfd74b293919b2b987a5dc;hpb=e096cc5104fcb1145de1ea9cc3e59374d179727f;p=lyx.git diff --git a/src/tex2lyx/math.C b/src/tex2lyx/math.C index a170da7db9..ea3cc9d4e0 100644 --- a/src/tex2lyx/math.C +++ b/src/tex2lyx/math.C @@ -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