Added patch 826821 from phearbear
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@1382
This commit is contained in:
parent
6ad8bd1411
commit
87216faa9b
4 changed files with 9 additions and 6 deletions
|
@ -89,7 +89,7 @@ emptyline:
|
|||
if (!first) continue; *first++=0;
|
||||
std::string temp;
|
||||
if (shell->GetEnvStr(cmd_read,temp)) {
|
||||
char * equals=strchr(temp.c_str(),'=');
|
||||
const char * equals=strchr(temp.c_str(),'=');
|
||||
if (!equals) continue;
|
||||
equals++;
|
||||
strcpy(cmd_write,equals);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue