From 93a646cacbbf5b96ec711fc2fe5681e21d1caca3 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sun, 21 Jan 2018 11:51:08 +0100 Subject: Fix newlines in parser error messages --- src/Parser.cpp | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'src') diff --git a/src/Parser.cpp b/src/Parser.cpp index 27f7d753..e15f58ec 100644 --- a/src/Parser.cpp +++ b/src/Parser.cpp @@ -467,32 +467,32 @@ parse_arc(Ingen::World* world, Sord::Iter h = model.find(subject, ingen_head, nil); if (t.end()) { - world->log().error("Arc has no tail"); + world->log().error("Arc has no tail\n"); return false; } else if (h.end()) { - world->log().error("Arc has no head"); + world->log().error("Arc has no head\n"); return false; } const std::string tail_str = relative_uri( base_uri, t.get_object().to_string(), true); if (!Raul::Path::is_valid(tail_str)) { - world->log().error("Arc tail has invalid URI"); + world->log().error("Arc tail has invalid URI\n"); return false; } const std::string head_str = relative_uri( base_uri, h.get_object().to_string(), true); if (!Raul::Path::is_valid(head_str)) { - world->log().error("Arc head has invalid URI"); + world->log().error("Arc head has invalid URI\n"); return false; } if (!(++t).end()) { - world->log().error("Arc has multiple tails"); + world->log().error("Arc has multiple tails\n"); return false; } else if (!(++h).end()) { - world->log().error("Arc has multiple heads"); + world->log().error("Arc has multiple heads\n"); return false; } -- cgit v1.2.1