uxn

Varvara Ordinator, written in ANSI C(SDL2)
git clone https://git.eamoncaddigan.net/uxn.git
Log | Files | Refs | README | LICENSE

commit 2c47425c41976e23c9c28d1cb98a9fe3fbe3b31b
parent 4ea8cc2819554ce40c943f38a1ac9860b13bfd4c
Author: Andrew Alderwick <andrew@alderwick.co.uk>
Date:   Fri, 14 Jan 2022 07:59:42 +0000

Remove trailing space in stack printing

Diffstat:
Msrc/devices/system.c | 6+++---
1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/devices/system.c b/src/devices/system.c @@ -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"); }