better always use style[0] (again). Otherise *-set.xml can't easily change
background/font
This commit is contained in:
parent
88beabb2d3
commit
c5e74d090a
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue