aboutsummaryrefslogtreecommitdiffstats
path: root/src/world.c
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2023-12-02 11:19:56 -0500
committerDavid Robillard <d@drobilla.net>2023-12-02 18:49:07 -0500
commit1d8cc6eebcb61f261f6d92318ffda32d8a4de080 (patch)
tree78b07be5de29d2d36f64d3cc28e0b01f39d7f30c /src/world.c
parentaa6b5ec5b9344bce0ea38d294aef0782c3745548 (diff)
downloadserd-1d8cc6eebcb61f261f6d92318ffda32d8a4de080.tar.gz
serd-1d8cc6eebcb61f261f6d92318ffda32d8a4de080.tar.bz2
serd-1d8cc6eebcb61f261f6d92318ffda32d8a4de080.zip
Make r_err take a single line without trailing newline
Towards having an actual logging (rather than printing) mechanism.
Diffstat (limited to 'src/world.c')
-rw-r--r--src/world.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/world.c b/src/world.c
index 386d7a55..837298f4 100644
--- a/src/world.c
+++ b/src/world.c
@@ -58,6 +58,7 @@ serd_world_error(const SerdWorld* const world, const SerdError* const e)
e->caret->col);
}
vfprintf(stderr, e->fmt, *e->args);
+ fprintf(stderr, "\n");
}
return e->status;
}