Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 5369 in orxonox.OLD for trunk/src/lib/shell/shell_input.cc


Ignore:
Timestamp:
Oct 13, 2005, 12:39:28 AM (19 years ago)
Author:
bensch
Message:

orxonox/trunk: saver font-changing in the Shell

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/lib/shell/shell_input.cc

    r5309 r5369  
    208208  ShellBuffer::addBufferLineStatic("Execute Command: %s\n", this->inputLine);
    209209
     210  if (strlen(this->inputLine) == 0)
     211    return false;
     212
    210213  char* newCommand = new char[strlen(this->inputLine)+1];
    211214  strcpy(newCommand, this->inputLine);
     215
     216  ShellCommandBase::execute(newCommand);
    212217
    213218  // removing the eventually added Entry (from scrolling) to the List
     
    227232  }
    228233
    229   ShellCommandBase::execute(this->inputLine);
    230 
    231234  this->flush();
    232235
    233   return false;
     236  return true;
    234237}
    235238
Note: See TracChangeset for help on using the changeset viewer.