Changeset 17988


Ignore:
Timestamp:
2008-12-01T12:43:47+13:00 (15 years ago)
Author:
max
Message:

String manipulation fix. Off by one error.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • gsdl/trunk/common-src/src/lib/gdbmclass.cpp

    r17757 r17988  
    8181      text_t::const_iterator begin = filename.begin();
    8282      text_t::const_iterator end= filename.end();
     83     
     84      if (begin != end)
     85        {
     86        end = end - 1;
     87        }
     88       
    8389      text_t::const_iterator here = end;
    8490
Note: See TracChangeset for help on using the changeset viewer.