Fixed console and made commands typed there work

This commit is contained in:
2003-10-20 13:31:30 -04:00
parent 4c6f5dfb15
commit 1685e64676
13 changed files with 411 additions and 296 deletions

View File

@@ -257,7 +257,7 @@ string word(string str, uint32 wordNum)
{
if(wordNum < 1)
{
while (!isspace(str[++length]) && length <= maxLength);
while (!isspace(str[++length]) && length < maxLength);
return str.substr(start, length);
}