]> git.mxchange.org Git - flightgear.git/blobdiff - src/Main/options.cxx
Fix a typo and an unitialized variable
[flightgear.git] / src / Main / options.cxx
index 0b0c8acf22145633e6c175262e604bf1027b1f39..8fe9ab211215db38667a76ade5d781b1a3662c03 100644 (file)
@@ -1063,7 +1063,7 @@ fgOptConfig( const char *arg )
        readProperties(file, globals->get_props());
     } catch (const sg_exception &e) {
        string message = "Error loading config file: ";
-       message += e.getFormattedMessage();
+       message += e.getFormattedMessage() + e.getOrigin();
        SG_LOG(SG_INPUT, SG_ALERT, message);
        exit(2);
     }