]> git.lyx.org Git - lyx.git/blobdiff - src/tex2lyx/Parser.cpp
Fix more warnings and simplify a tiny bit.
[lyx.git] / src / tex2lyx / Parser.cpp
index 37f7deedc191f781935017f66e2448ec431af4ce..a538c760efe2ac8f83002cd2a581544bf5c8cfe4 100644 (file)
@@ -588,8 +588,8 @@ bool Parser::hasListPreamble(string const itemcmd)
                getArg('{', '}');
        // and swallow spaces and comments
        skip_spaces(true);
-       // we have a preamvle if the next thing that follows is not
-       // the \item command
+       // we have a list preamble if the next thing
+       // that follows is not the \item command
        bool res =  next_token().cs() != itemcmd;
        // back to orig position
        pos_ = oldpos;