Made the ST:TNG skin the default in case the user selected skin is not available

This commit is contained in:
Klaus Schmidinger 2012-03-05 10:46:26 +01:00
parent f1441cebf6
commit 90f5779228
2 changed files with 3 additions and 2 deletions

View File

@ -6973,3 +6973,4 @@ Video Disk Recorder Revision History
handled for 10 seconds.
- Added some missing member initializations in cBitmap.
- Improved displaying the play mode in the ST:TNG skin.
- Made the ST:TNG skin the default in case the user selected skin is not available.

4
vdr.c
View File

@ -22,7 +22,7 @@
*
* The project's page is at http://www.tvdr.de
*
* $Id: vdr.c 2.30 2012/02/27 10:59:55 kls Exp $
* $Id: vdr.c 2.31 2012/03/05 10:44:33 kls Exp $
*/
#include <getopt.h>
@ -677,8 +677,8 @@ int main(int argc, char *argv[])
// Default skins:
new cSkinClassic;
new cSkinSTTNG;
new cSkinClassic;
Skins.SetCurrent(Setup.OSDSkin);
cThemes::Load(Skins.Current()->Name(), Setup.OSDTheme, Skins.Current()->Theme());
CurrentSkin = Skins.Current();