Curtis L. Olson writes:
> 
> I haven't looked closely at the code that loads preferences.xml, but
> if David M. confirms this is hardwired, then definitely, I think the
> ability to specify an alternate config file would be a very good thing
> to add.

>From options.cxx

    } else if ( arg.find( "--config=" ) == 0 ) {
        string file = arg.substr(9);
 try {
   readProperties(file, globals->get_props());
 } catch (const sg_exception &e) {
   string message = "Error loading config file: ";
   message += e.getFormattedMessage();
   SG_LOG(SG_INPUT, SG_ALERT, message);
   exit(2);
 }

norman

_______________________________________________
Flightgear-devel mailing list
[EMAIL PROTECTED]
http://mail.flightgear.org/mailman/listinfo/flightgear-devel

Reply via email to