1
0
mirror of https://github.com/VDR4Arch/vdr.git synced 2023-10-10 13:36:52 +02:00

Fixed a crash when switching the skin and having selected a non-default theme that is not available for the newly selected skin

This commit is contained in:
Klaus Schmidinger 2004-05-22 10:33:46 +02:00
parent 9b7c8ac102
commit b8c26cd482
4 changed files with 13 additions and 5 deletions

View File

@ -695,6 +695,8 @@ Sascha Volkenandt <sascha@akv-soft.de>
return from their Receive() function if the buffer runs full return from their Receive() function if the buffer runs full
for reporting a crash in case there is no DVB hardware present for reporting a crash in case there is no DVB hardware present
for his support in debugging the the "Unknown picture type error" for his support in debugging the the "Unknown picture type error"
for reporting a crash when switching the skin and having selected a non-default
theme that is not available for the newly selected skin
Malcolm Caldwell <malcolm.caldwell@ntu.edu.au> Malcolm Caldwell <malcolm.caldwell@ntu.edu.au>
for modifying LOF handling to allow for C-band reception for modifying LOF handling to allow for C-band reception

View File

@ -2804,3 +2804,9 @@ Video Disk Recorder Revision History
actual source (sat, cable etc.) into account. Please go into "Setup/EPG" and actual source (sat, cable etc.) into account. Please go into "Setup/EPG" and
set the "Set system time" and "Use time from transponder" parameters accordingly set the "Set system time" and "Use time from transponder" parameters accordingly
(this is necessary even if you have already set them before!). (this is necessary even if you have already set them before!).
2004-05-22: Version 1.3.8
- Fixed a crash when switching the skin and having selected a non-default theme
that is not available for the newly selected skin (thanks to Sascha Volkenandt
for reporting this one).

View File

@ -4,7 +4,7 @@
* See the main source file 'vdr.c' for copyright information and * See the main source file 'vdr.c' for copyright information and
* how to reach the author. * how to reach the author.
* *
* $Id: config.h 1.193 2004/05/16 12:41:43 kls Exp $ * $Id: config.h 1.194 2004/05/22 10:33:46 kls Exp $
*/ */
#ifndef __CONFIG_H #ifndef __CONFIG_H
@ -20,8 +20,8 @@
#include "i18n.h" #include "i18n.h"
#include "tools.h" #include "tools.h"
#define VDRVERSION "1.3.7" #define VDRVERSION "1.3.8"
#define VDRVERSNUM 10307 // Version * 10000 + Major * 100 + Minor #define VDRVERSNUM 10308 // Version * 10000 + Major * 100 + Minor
#define MAXPRIORITY 99 #define MAXPRIORITY 99
#define MAXLIFETIME 99 #define MAXLIFETIME 99

View File

@ -4,7 +4,7 @@
* See the main source file 'vdr.c' for copyright information and * See the main source file 'vdr.c' for copyright information and
* how to reach the author. * 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" #include "themes.h"
@ -274,7 +274,7 @@ int cThemes::GetThemeIndex(const char *Description)
if (strcmp(descriptions[i], Description) == 0) if (strcmp(descriptions[i], Description) == 0)
return i; return i;
if (strcmp(descriptions[i], "Default") == 0) if (strcmp(descriptions[i], "Default") == 0)
index = 1; index = i;
} }
return index; return index;
} }