]> git.mxchange.org Git - flightgear.git/commitdiff
Don't forget to clear the previous configuration
authorehofman <ehofman>
Mon, 7 Sep 2009 07:52:30 +0000 (07:52 +0000)
committerTim Moore <timoore@redhat.com>
Wed, 9 Sep 2009 06:56:31 +0000 (08:56 +0200)
src/Network/generic.cxx

index 0e01985e392bc5844bde15c1b31db2dc63346f02..b518a8a327abfa941aee4fd5ba13cce32d241934 100644 (file)
@@ -535,11 +535,13 @@ FGGeneric::reinit()
 
     SGPropertyNode *output = root.getNode("generic/output");
     if (output) {
+        _out_message.clear();
         read_config(output, _out_message);
     }
 
     SGPropertyNode *input = root.getNode("generic/input");
     if (input) {
+        _in_message.clear();
         read_config(input, _in_message);
     }
 }