Fixed stupid unidasm bug that double-counted bytes.

This commit is contained in:
Aaron Giles 2009-09-06 22:37:41 +00:00
parent 191fe9cdc3
commit b12ea76a0d

View File

@ -500,7 +500,8 @@ int main(int argc, char *argv[])
{
for (p = buffer; *p != 0; p++)
*p = tolower((UINT8)*p);
} else if (opts.upper)
}
else if (opts.upper)
{
for (p = buffer; *p != 0; p++)
*p = toupper((UINT8)*p);
@ -528,7 +529,6 @@ int main(int argc, char *argv[])
// advance
curpc += pcdelta;
curbyte += numbytes;
}
return 0;