]> git.mxchange.org Git - flightgear.git/commitdiff
better always use style[0] (again). Otherise *-set.xml can't easily change
authormfranz <mfranz>
Tue, 6 Jun 2006 17:30:49 +0000 (17:30 +0000)
committermfranz <mfranz>
Tue, 6 Jun 2006 17:30:49 +0000 (17:30 +0000)
background/font

src/Main/splash.cxx

index 8fee886de3ce9a8013491a89ca8f694cd18c12f6..fef5c0c011bd4ff91ef5a7e5d2210c277a23966b 100644 (file)
@@ -67,7 +67,7 @@ void fgSplashInit ( const char *splash_texture ) {
 
     int which = fgGetInt("/sim/gui/current-style", 0);
     SGPropertyNode *sim = fgGetNode("/sim/gui", true);
-    style = sim->getChild("style", which);
+    style = sim->getChild("style", 0/*which*/); // always use style[0]?
     if (!style)
         style = sim->getChild("style", 0, true);