aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHugo Hörnquist <hugo@hornquist.se>2019-02-10 18:18:49 +0100
committerHugo Hörnquist <hugo@hornquist.se>2019-02-10 18:18:49 +0100
commit5d161698a13fc34feccfdff27756022a3d4eeb5c (patch)
tree3e25539ff1ea8d275cd1f19a8eff8c8ddd788ecf
parentMinor cleanup. (diff)
downloadcalp-5d161698a13fc34feccfdff27756022a3d4eeb5c.tar.gz
calp-5d161698a13fc34feccfdff27756022a3d4eeb5c.tar.xz
Add space to FMT(LLIST(T)).
-rw-r--r--linked_list.inc.h3
1 files changed, 2 insertions, 1 deletions
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(")");