1
0
Fork 0

Fix GTA installer.

Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3503
This commit is contained in:
Peter Veenstra 2009-11-30 08:21:38 +00:00
parent a165f2ae83
commit 7f19fe7e3f

View file

@ -283,6 +283,8 @@ void DOS_Shell::Run(void) {
std::string line;
if (cmd->FindStringRemain("/C",line)) {
strcpy(input_line,line.c_str());
char* sep = strpbrk(input_line,"\r\n"); //GTA installer
if (sep) *sep = 0;
DOS_Shell temp;
temp.echo = echo;
temp.ParseLine(input_line); //for *.exe *.com |*.bat creates the bf needed by runinternal;