Merge branch 'svn/trunk'
This commit is contained in:
commit
a4a6bed5c1
8 changed files with 13 additions and 12 deletions
|
@ -134,7 +134,10 @@ AutoexecObject::~AutoexecObject(){
|
|||
if ((strncasecmp(buf2,"set ",4) == 0) && (strlen(buf2) > 4)){
|
||||
char* after_set = buf2 + 4;//move to variable that is being set
|
||||
char* test = strpbrk(after_set,"=");
|
||||
if (!test) continue;
|
||||
if (!test) {
|
||||
delete [] buf2;
|
||||
continue;
|
||||
}
|
||||
*test = 0;
|
||||
stringset = true;
|
||||
//If the shell is running/exists update the environment
|
||||
|
|
|
@ -368,7 +368,7 @@ void DOS_Shell::InputCommand(char * line) {
|
|||
|
||||
// remove current command from history if it's there
|
||||
if (current_hist) {
|
||||
current_hist=false;
|
||||
// current_hist=false;
|
||||
l_history.pop_front();
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue