From c5e74d090a572b3df6511629be8129f7017e77c1 Mon Sep 17 00:00:00 2001 From: mfranz Date: Tue, 6 Jun 2006 17:30:49 +0000 Subject: [PATCH] better always use style[0] (again). Otherise *-set.xml can't easily change background/font --- src/Main/splash.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- 2.39.5