From f95549a91aa8e6ef4377cd0cfff83b0f25eb8345 Mon Sep 17 00:00:00 2001 From: Enno Rehling Date: Sun, 23 Aug 2020 21:28:15 +0200 Subject: [PATCH] Fehlendes \n bei einfachen attributen im CR --- src/util/crmessage.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/util/crmessage.c b/src/util/crmessage.c index 393f94b31..09e6cdaf8 100644 --- a/src/util/crmessage.c +++ b/src/util/crmessage.c @@ -133,14 +133,14 @@ int cr_render(const message * msg, char *buffer, const void *userdata) int cr_string(variant var, const char *name, char *buffer, const void *userdata) { - sprintf(buffer, "\"%s\";%s", (const char *)var.v, name); + sprintf(buffer, "\"%s\";%s\n", (const char *)var.v, name); UNUSED_ARG(userdata); return 0; } int cr_int(variant var, const char *name, char *buffer, const void *userdata) { - sprintf(buffer, "%d;%s", var.i, name); + sprintf(buffer, "%d;%s\n", var.i, name); UNUSED_ARG(userdata); return 0; }