]> git.mxchange.org Git - flightgear.git/commitdiff
Adapt for latest SimGear changes and insert missing bracket
authorThomas Geymayer <tomgey@gmail.com>
Tue, 6 Nov 2012 17:50:14 +0000 (18:50 +0100)
committerThomas Geymayer <tomgey@gmail.com>
Tue, 6 Nov 2012 17:50:14 +0000 (18:50 +0100)
src/Canvas/window.cxx
src/Main/fg_io.cxx

index 156ca043a1d877a8890480c15035ea0995726c51..d79e1cb7a03573ae7772b41a35161f3fbcb095a8 100644 (file)
@@ -30,7 +30,7 @@ namespace canvas
     PropertyBasedElement(node),
     _image( simgear::canvas::CanvasPtr(),
             node,
-            simgear::canvas::Element::Style() )
+            simgear::canvas::Style() )
   {
     _image.removeListener();
 
index 4f27e276c574e7a93e0e721afa7e795d96665262..db6289ae30bdc66b8bd31c995a95f469c16cf66a 100644 (file)
@@ -228,6 +228,7 @@ FGIO::parse_port_config( const string& config )
 #ifdef FG_HAVE_HLA
         else if ( protocol == "hla" ) {
             return new FGHLA(tokens);
+        }
 #endif
         else {
             return NULL;