1
0
Fork 0

End of environment is a bit shorter. Very old code, lets see what breaks.

Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@4235
This commit is contained in:
Peter Veenstra 2019-06-20 09:22:17 +00:00
parent f74067c2b0
commit 46babe5666

View file

@ -254,7 +254,7 @@ bool Program::SetEnv(const char * entry,const char * new_string) {
env_write += (PhysPt)(strlen(env_string)+1);
}
/* Clear out the final piece of the environment */
mem_writed(env_write,0);
mem_writeb(env_write,0);
return true;
}