1
0
Fork 0

Add an noautoexec switch (RFE: 1215226). And made echo off skip the internal SET lines of dosbox as well. (RFE/PATCH: 1258897)

Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@2428
This commit is contained in:
Peter Veenstra 2006-01-12 10:20:20 +00:00
parent 92203e9c1a
commit afb9e84c53
3 changed files with 59 additions and 40 deletions

View file

@ -53,8 +53,9 @@ void VFILE_Remove(const char *name) {
VFILE_Block * chan=first_file;
VFILE_Block * * where=&first_file;
while (chan) {
if (strcmp(name,chan->name)==0) {
*where=chan->next;
if (strcmp(name,chan->name) == 0) {
*where = chan->next;
if(chan == first_file) first_file = chan->next;
delete chan;
return;
}