]> git.mxchange.org Git - flightgear.git/commitdiff
Tweaks to protocol names to match recent changes in options.cxx (so they
authorcurt <curt>
Mon, 20 Jan 2003 03:09:54 +0000 (03:09 +0000)
committercurt <curt>
Mon, 20 Jan 2003 03:09:54 +0000 (03:09 +0000)
will work.) :-)

src/Main/fg_io.cxx

index 397ec166dacd59667d97afab2e0c8effb953aebb..3dc66de136a608ec8b5356291178213d92409c40 100644 (file)
@@ -131,13 +131,13 @@ FGIO::parse_port_config( const string& config )
        } else if ( protocol == "native" ) {
            FGNative *native = new FGNative;
            io = native;
-       } else if ( protocol == "native_ctrls" ) {
+       } else if ( protocol == "native-ctrls" ) {
            FGNativeCtrls *native_ctrls = new FGNativeCtrls;
            io = native_ctrls;
-       } else if ( protocol == "native_fdm" ) {
+       } else if ( protocol == "native-fdm" ) {
            FGNativeFDM *native_fdm = new FGNativeFDM;
            io = native_fdm;
-       } else if ( protocol == "native_gui" ) {
+       } else if ( protocol == "native-gui" ) {
            FGNativeGUI *net_gui = new FGNativeGUI;
            io = net_gui;
        } else if ( protocol == "nmea" ) {