Changeset 908


Ignore:
Timestamp:
Oct 27, 2010, 2:45:20 PM (7 years ago)
Author:
joerg
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/jlatexeditor/syntaxhighlighting/LatexSyntaxHighlighting.java

    r905 r908  
    335335    if (argumentsIterator != null && argumentsIterator.hasNext()) {
    336336      CHCommandArgument argument = argumentsIterator.next();
    337       if (argument.isOptional()) {
    338         argumentsIterator.hasNext();
     337      if (argument.isOptional() && argumentsIterator.hasNext()) {
    339338        argument = argumentsIterator.next();
    340339      }
Note: See TracChangeset for help on using the changeset viewer.