From: mfranz Date: Tue, 6 Jun 2006 17:30:49 +0000 (+0000) Subject: better always use style[0] (again). Otherise *-set.xml can't easily change X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=c5e74d090a572b3df6511629be8129f7017e77c1;p=flightgear.git better always use style[0] (again). Otherise *-set.xml can't easily change background/font --- diff --git a/src/Main/splash.cxx b/src/Main/splash.cxx index 8fee886de..fef5c0c01 100644 --- a/src/Main/splash.cxx +++ b/src/Main/splash.cxx @@ -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);