From 539c1891d32e7c03f9c1e6e59499da4d5e5eba15 Mon Sep 17 00:00:00 2001 From: mfranz Date: Sun, 30 Sep 2007 11:56:21 +0000 Subject: [PATCH] degrade FGNasalModelData log message from SG_ALERT to SG_WARN --- src/Scripting/NasalSys.cxx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/Scripting/NasalSys.cxx b/src/Scripting/NasalSys.cxx index 991147e79..9b78f8081 100644 --- a/src/Scripting/NasalSys.cxx +++ b/src/Scripting/NasalSys.cxx @@ -362,7 +362,7 @@ static naRef f_directory(naContext c, naRef me, int argc, naRef* args) // Parse XML file. // parsexml( [, [, [, [, ]]]]); // -// ... absolute path of an XML file +// ... absolute path to an XML file // ... callback function with two args: tag name, attribute hash // ... callback function with one arg: tag name // ... callback function with one arg: data @@ -935,7 +935,7 @@ FGNasalModelData::~FGNasalModelData() return; if(!nasalSys) { - SG_LOG(SG_NASAL, SG_ALERT, "Trying to run an script " + SG_LOG(SG_NASAL, SG_WARN, "Trying to run an script " "without Nasal subsystem present."); return; } @@ -984,7 +984,7 @@ void NasalXMLVisitor::data(const char* str, int len) void NasalXMLVisitor::pi(const char* target, const char* data) { - if (!naIsNil(_pi)) call(_pi, 2, make_string(target), make_string(data)); + if(!naIsNil(_pi)) call(_pi, 2, make_string(target), make_string(data)); } void NasalXMLVisitor::call(naRef func, int num, naRef a, naRef b)