Remove trailing space in stack printing

This commit is contained in:
Andrew Alderwick 2022-01-14 07:59:42 +00:00
parent 4ea8cc2819
commit 2c47425c41
1 changed files with 3 additions and 3 deletions

View File

@ -26,11 +26,11 @@ static void
system_print(Stack *s, char *name)
{
Uint8 i;
fprintf(stderr, "<%s> ", name);
fprintf(stderr, "<%s>", name);
for(i = 0; i < s->ptr; i++)
fprintf(stderr, "%02x ", s->dat[i]);
fprintf(stderr, " %02x", s->dat[i]);
if(!i)
fprintf(stderr, "empty");
fprintf(stderr, " empty");
fprintf(stderr, "\n");
}