You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/media-plugins/vdr-director/files/vdr-director-0.2.8-vdr.1.5....

16 lines
503 B

diff -ru director-0.2.8-orig/directorosd.c director-0.2.8/directorosd.c
--- director-0.2.8-orig/directorosd.c 2007-06-24 15:28:04.733376979 +0200
+++ director-0.2.8/directorosd.c 2007-06-24 15:29:34.741637063 +0200
@@ -323,7 +323,11 @@
char *buffer=0;
asprintf(&buffer,"1 %s %d", Channel->Name(), number);
+#if VDRVERSNUM < 10503
int theHeigth = font->Height('A');
+#else
+ int theHeigth = font->Height("A");
+#endif
int m_height = (number * theHeigth) + 10;
//get the width