summaryrefslogtreecommitdiff
path: root/vdr.c
diff options
context:
space:
mode:
Diffstat (limited to 'vdr.c')
-rw-r--r--vdr.c8
1 files changed, 7 insertions, 1 deletions
diff --git a/vdr.c b/vdr.c
index f3218eb2..e28c7281 100644
--- a/vdr.c
+++ b/vdr.c
@@ -22,7 +22,7 @@
*
* The project's page is at http://www.cadsoft.de/vdr
*
- * $Id: vdr.c 1.292 2007/06/15 13:20:34 kls Exp $
+ * $Id: vdr.c 1.293 2007/06/17 11:23:08 kls Exp $
*/
#include <getopt.h>
@@ -550,6 +550,12 @@ int main(int argc, char *argv[])
))
EXIT(2);
+ if (!*cFont::GetFontFileName(Setup.FontOsd)) {
+ const char *msg = "no fonts available - OSD will not show any text!";
+ fprintf(stderr, "vdr: %s\n", msg);
+ esyslog("ERROR: %s", msg);
+ }
+
// Recordings:
Recordings.Update();