From 6ce68a226a39af7d10464f5d05708e55660d940d Mon Sep 17 00:00:00 2001 From: mfranz Date: Thu, 3 Aug 2006 09:37:31 +0000 Subject: [PATCH] remove confusing error message that leads first-time users on the wrong track and is a PITA for support staff. It's this message: Error reading properties: Failed to open file at /home/newbie/.fgfs/autosave.xml (reported by SimGear XML Parser) --- src/Main/fg_init.cxx | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/src/Main/fg_init.cxx b/src/Main/fg_init.cxx index 874288901..ab29bed5e 100644 --- a/src/Main/fg_init.cxx +++ b/src/Main/fg_init.cxx @@ -606,12 +606,11 @@ bool fgInitConfig ( int argc, char **argv ) { config.append( "autosave.xml" ); SG_LOG(SG_INPUT, SG_INFO, "Reading user settings from autosave.xml"); try { - fgLoadProps(config.str().c_str(), globals->get_props(), false, - SGPropertyNode::USERARCHIVE); + readProperties(config.str(), globals->get_props(), SGPropertyNode::USERARCHIVE); } catch (...) { - SG_LOG(SG_INPUT, SG_BULK, "First time reading user settings"); + SG_LOG(SG_INPUT, SG_DEBUG, "First time reading user settings"); } - SG_LOG(SG_INPUT, SG_BULK, "Finished Reading user settings"); + SG_LOG(SG_INPUT, SG_DEBUG, "Finished Reading user settings"); } // parse options after loading aircraft to ensure any user -- 2.39.5