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:
parent
43dd0e358e
commit
66996ec882
1 changed files with 2 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Reference in a new issue