Changeset 6773


Ignore:
Timestamp:
2004-02-12T09:45:11+13:00 (20 years ago)
Author:
davidb
Message:

Fixed bug where 'continue' was used in loop without incrementing
loop counter.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/gsdl/src/recpt/datelistbrowserclass.cpp

    r6645 r6773  
    9494
    9595    // bail on this document if it has no date
    96     if (date.empty()) continue;
     96    if (date.empty()) { thissection++; continue; }
    9797
    9898    text_t::const_iterator datebegin = date.begin();
    9999    int datesize = date.size();
    100100   
    101     if (datesize < 4) continue;
     101    if (datesize < 4) { thissection++; continue; }
    102102    text_t thisyear = substr (datebegin, datebegin+4);
    103103    text_t thismonth = "00";
Note: See TracChangeset for help on using the changeset viewer.