diff options
author | Klaus Schmidinger <vdr@tvdr.de> | 2004-05-22 10:33:46 +0200 |
---|---|---|
committer | Klaus Schmidinger <vdr@tvdr.de> | 2004-05-22 10:33:46 +0200 |
commit | b8c26cd48268597800862a768cc34c60c41d1ffe (patch) | |
tree | 0bc31d5f6f41429ebb243bc7b7e4613e06791401 /themes.c | |
parent | 9b7c8ac102e514ebc351b3724274a45e88047fc1 (diff) | |
download | vdr-b8c26cd48268597800862a768cc34c60c41d1ffe.tar.gz vdr-b8c26cd48268597800862a768cc34c60c41d1ffe.tar.bz2 |
Fixed a crash when switching the skin and having selected a non-default theme that is not available for the newly selected skin
Diffstat (limited to 'themes.c')
-rw-r--r-- | themes.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -4,7 +4,7 @@ * See the main source file 'vdr.c' for copyright information and * how to reach the author. * - * $Id: themes.c 1.1 2004/05/16 09:43:14 kls Exp $ + * $Id: themes.c 1.2 2004/05/22 10:30:06 kls Exp $ */ #include "themes.h" @@ -274,7 +274,7 @@ int cThemes::GetThemeIndex(const char *Description) if (strcmp(descriptions[i], Description) == 0) return i; if (strcmp(descriptions[i], "Default") == 0) - index = 1; + index = i; } return index; } |