From 5d161698a13fc34feccfdff27756022a3d4eeb5c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Hugo=20H=C3=B6rnquist?= Date: Sun, 10 Feb 2019 18:18:49 +0100 Subject: Add space to FMT(LLIST(T)). --- linked_list.inc.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/linked_list.inc.h b/linked_list.inc.h index 8de8d06b..831da5fb 100644 --- a/linked_list.inc.h +++ b/linked_list.inc.h @@ -165,11 +165,12 @@ int RESET(LLIST(TYPE)) ( LLIST(TYPE)* llist ) { return 0; } -FMT_F(LLIST (TYPE)) { +FMT_F(LLIST(TYPE)) { int seek = 0; fmtf("("); FOR(LLIST(TYPE), link, this) { seek += FMT(TYPE)(link->value, buf + seek); + fmtf(" "); } fmtf(")"); -- cgit v1.2.3