]> git.mxchange.org Git - flightgear.git/commitdiff
Get rid of the double comma's for the file section of the generic protocol also.
authorehofman <ehofman>
Sun, 25 Jul 2004 18:47:18 +0000 (18:47 +0000)
committerehofman <ehofman>
Sun, 25 Jul 2004 18:47:18 +0000 (18:47 +0000)
docs-mini/README.IO
src/Main/fg_io.cxx

index f5b45799d22b852834ba9b9202fb3d98535226aa..38607916e13e32dc7193102e79e2504dc0694ee3 100644 (file)
@@ -27,7 +27,7 @@ Generic Communction:
     params can be:
     serial port communication:    serial,dir,hz,device,baud,protocol
     socket communication:         socket,dir,hz,machine,port,style,protocol
-    output to a file:             file,dir,hz,filename,,protocol
+    output to a file:             file,dir,hz,filename,protocol
 
 
     The confinfiguration file is defined as follows:
index 2e06e16b9f23583f1983cfe98c5ee8619375b7e8..d898baec4dfabfc2660f4c5ee5c97d846ae7bc53 100644 (file)
@@ -172,6 +172,7 @@ FGIO::parse_port_config( const string& config )
         } else if ( protocol == "generic" ) {
             int n = 6;
             if (tokens[1] == "socket")  n++;
+            else if (tokens[1] == "file") n--;
             FGGeneric *generic = new FGGeneric( tokens[n] );
             io = generic;