Changeset 19058

Show
Ignore:
Timestamp:
20.04.2009 01:39:45 (10 years ago)
Author:
davidb
Message:

Fixed bug that causes Local Library Server to crash with an {If} statement with two chars in it (that did not include any 'op').

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • gsdl/trunk/runtime-src/src/recpt/formattools.cpp

    r19046 r19058  
    12881288  int op_start = rscan_for_whitespace(outstring,op_end-1)+1; 
    12891289 
     1290  if ((op_end<0) && (op_start<0)) { 
     1291    // no meaningful expression operator 
     1292    return false; 
     1293  } 
    12901294 
    12911295  if (op_end-op_start<0) {