Mailing List archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[vdr] Re: BUG: Changing Skin crashes VDR



Andreas Freund wrote:
> 
> Hi,
> VDR crashes with a segfault if you change the skin while using another theme
> then the default one.
> 
> I was using my own Theme called "blue" and switched from TNG-skin to
> default-skin and VDR crashed with a segfault. VDR displays some strange chars
> at the theme-field before it died.

This should fix it:

--- themes.c    2004/05/16 09:43:14     1.1
+++ themes.c    2004/05/22 10:30:06
@@ -274,7 +274,7 @@
       if (strcmp(descriptions[i], Description) == 0)
          return i;
       if (strcmp(descriptions[i], "Default") == 0)
-         index = 1;
+         index = i;
       }
   return index;
 }

(problem was originally reported by Sascha Volkenandt via PM).

Klaus


-- 
Info:
To unsubscribe send a mail to ecartis@linuxtv.org with "unsubscribe vdr" as subject.



Home | Main Index | Thread Index