Changeset 17988

Show
Ignore:
Timestamp:
01.12.2008 12:43:47 (11 years ago)
Author:
max
Message:

String manipulation fix. Off by one error.

Files:
1 modified

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