Changeset 237


Ignore:
Timestamp:
Aug 26, 2007, 6:32:07 AM (14 years ago)
Author:
Eugene Romanenko
Message:

fix crash on prev/next if ext of current file not in supported exts list

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Lucide/SOURCE/gui/lucide.cpp

    r235 r237  
    855855    }
    856856
     857    if ( fileListIterator == fileList.end() ) {
     858        // If viewed file extension not in supported extensions
     859        //   list - fileListIterator will equal fileList.end()
     860        fileListIterator = fileList.begin();
     861    }
     862
    857863    if ( file == ListFirst ) {
    858864        fileListIterator = fileList.begin();
Note: See TracChangeset for help on using the changeset viewer.