Removed extra specing around bytes in stack printing
This commit is contained in:
parent
fc659b9094
commit
4ea8cc2819
|
@ -28,7 +28,7 @@ system_print(Stack *s, char *name)
|
||||||
Uint8 i;
|
Uint8 i;
|
||||||
fprintf(stderr, "<%s> ", name);
|
fprintf(stderr, "<%s> ", name);
|
||||||
for(i = 0; i < s->ptr; i++)
|
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)
|
if(!i)
|
||||||
fprintf(stderr, "empty");
|
fprintf(stderr, "empty");
|
||||||
fprintf(stderr, "\n");
|
fprintf(stderr, "\n");
|
||||||
|
|
Loading…
Reference in New Issue