Slightly better error message for invalid taxiway signs.

This commit is contained in:
ThorstenB
2012-01-09 20:27:27 +01:00
parent 5923956045
commit 182037ad67

View File

@@ -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;