Changeset 4212 for trunk/console

Show
Ignore:
Timestamp:
09/13/05 17:26:26 (3 years ago)
Author:
phatfil
Message:

don't try to tab-complete (then crash) when the user hasn't typed anything

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/console/src/console.cpp

    r4197 r4212  
    12171217      } 
    12181218 
     1219      if (!nPos) 
     1220        break; 
     1221 
    12191222      szIn[nPos] = '\0'; 
    12201223      char *szArg = strchr(szIn, ' ');