Changeset 654


Ignore:
Timestamp:
09/21/14 06:54:36 (3 years ago)
Author:
jls17
Message:
  • fixed: an exception was thrown if the command passed to the processForm method did have only one parameter (#142)
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/work_312/doc/DocTextReferences.cpp

    r580 r654  
    462462        } 
    463463 
    464         //write anything past the form to output 
    465         strmTmp << tmp.substr(pos); 
     464        // if there is anything past the form-parameter, write it to output 
     465        if (pos != string::npos) 
     466                strmTmp << tmp.substr(pos); 
    466467 
    467468        return strmTmp.str(); 
Note: See TracChangeset for help on using the changeset viewer.