Removed extra specing around bytes in stack printing

This commit is contained in:
neauoire 2022-01-13 14:52:37 -08:00
parent fc659b9094
commit 4ea8cc2819
1 changed files with 1 additions and 1 deletions

View File

@ -28,7 +28,7 @@ system_print(Stack *s, char *name)
Uint8 i;
fprintf(stderr, "<%s> ", name);
for(i = 0; i < s->ptr; i++)
fprintf(stderr, i == s->ptr ? "[%02x]" : " %02x ", s->dat[i]);
fprintf(stderr, "%02x ", s->dat[i]);
if(!i)
fprintf(stderr, "empty");
fprintf(stderr, "\n");