0
0
Fork 0
mirror of https://git.sr.ht/~rabbits/uxn synced 2024-11-27 16:23:02 +00:00

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

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");