vdr-arghdirector-0.2.6-vdr-1.5.3.diff 519 B

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