From: curt Date: Mon, 20 Jan 2003 03:09:54 +0000 (+0000) Subject: Tweaks to protocol names to match recent changes in options.cxx (so they X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=e00fa3dbaf9bbc334e363d950186109321aa6c4e;p=flightgear.git Tweaks to protocol names to match recent changes in options.cxx (so they will work.) :-) --- diff --git a/src/Main/fg_io.cxx b/src/Main/fg_io.cxx index 397ec166d..3dc66de13 100644 --- a/src/Main/fg_io.cxx +++ b/src/Main/fg_io.cxx @@ -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" ) {