1
0
Fork 0

Fixed a typo in --opengc parsing.

This commit is contained in:
curt 2001-12-05 04:54:54 +00:00
parent a1ab836daf
commit 06c4076cf5

View file

@ -801,7 +801,7 @@ parse_option (const string& arg)
} else if ( arg.find( "--opengc=" ) == 0 ) {
// char stop;
// cout << "Adding channel for OpenGC Display" << endl; cin >> stop;
add_channel( "opengc", arg.substr(10) );
add_channel( "opengc", arg.substr(9) );
} else if ( arg.find( "--garmin=" ) == 0 ) {
add_channel( "garmin", arg.substr(9) );
} else if ( arg.find( "--nmea=" ) == 0 ) {