From: ThorstenB Date: Mon, 9 Jan 2012 19:27:27 +0000 (+0100) Subject: Slightly better error message for invalid taxiway signs. X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=182037ad6764619de857fc2bf7ffc6963b595356;p=simgear.git Slightly better error message for invalid taxiway signs. --- 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;