From 182037ad6764619de857fc2bf7ffc6963b595356 Mon Sep 17 00:00:00 2001 From: ThorstenB Date: Mon, 9 Jan 2012 20:27:27 +0100 Subject: [PATCH] Slightly better error message for invalid taxiway signs. --- simgear/scene/tgdb/apt_signs.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/simgear/scene/tgdb/apt_signs.cxx b/simgear/scene/tgdb/apt_signs.cxx index d76622a6..80328d23 100644 --- a/simgear/scene/tgdb/apt_signs.cxx +++ b/simgear/scene/tgdb/apt_signs.cxx @@ -117,13 +117,13 @@ SGMakeSign(SGMaterialLib *matlib, const string& path, const string& content) if (*s == '{') { if (cmd) - SG_LOG(SG_TERRAIN, SG_ALERT, SIGN "unexpected { in sign contents"); + SG_LOG(SG_TERRAIN, SG_ALERT, SIGN "Illegal taxiway sign syntax. Unexpected '{' in '" << content << "'."); cmd = true; continue; } else if (*s == '}') { if (!cmd) - SG_LOG(SG_TERRAIN, SG_ALERT, SIGN "unexpected } in sign contents"); + SG_LOG(SG_TERRAIN, SG_ALERT, SIGN "Illegal taxiway sign syntax. Unexpected '{' in '" << content << "'."); cmd = false; continue; -- 2.39.5