mirror of
https://git.sr.ht/~rabbits/uxn
synced 2024-11-30 17:53:01 +00:00
Removed extra specing around bytes in stack printing
This commit is contained in:
parent
fc659b9094
commit
4ea8cc2819
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue