1
0
Fork 0

fixed a bug in parsecommand for gcc3.2

Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@628
This commit is contained in:
Peter Veenstra 2003-01-14 11:13:18 +00:00
parent 43dd0e358e
commit 66996ec882

View file

@ -676,7 +676,8 @@ bool ChangeRegister(char* str)
bool ParseCommand(char* str)
{
char* found = str;
while (*found) *found++=toupper(*found);
for(char* idx = found;*idx != 0; idx++)
*idx = toupper(*idx);
found = strstr(str,"BP ");
if (found) { // Add new breakpoint
found+=3;