]> git.lyx.org Git - lyx.git/blobdiff - src/sgml.C
Trivial fixes to some warnings thrown up by MSVS.Net 2003.
[lyx.git] / src / sgml.C
index 5045025cdce159cac055ecf09bc6ce53d98be388..6e3f732ef78235cd135feb7598db658bd019d73c 100644 (file)
@@ -220,7 +220,7 @@ void openTag(Buffer const & buf, ostream & os, OutputParams const & runparams, P
                if (param.find('#') != string::npos) {
                        string::size_type pos = param.find("id=<");
                        string::size_type end = param.find(">");
-                       if( pos != string::npos and end != string::npos)
+                       if( pos != string::npos && end != string::npos)
                                param.erase(pos, end-pos + 1);
                }
                attribute = id + ' ' + param;