From 6bd94489deb08ab5eed2e83cbb1f818295fd9a26 Mon Sep 17 00:00:00 2001 From: Klaus Schmidinger Date: Sat, 25 Jan 2014 14:26:26 +0100 Subject: cFont::CreateFont() now returns a dummy font in case there are no fonts installed --- font.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'font.h') diff --git a/font.h b/font.h index 86bd8b33..02008742 100644 --- a/font.h +++ b/font.h @@ -4,7 +4,7 @@ * See the main source file 'vdr.c' for copyright information and * how to reach the author. * - * $Id: font.h 2.7 2013/02/17 13:17:42 kls Exp $ + * $Id: font.h 2.7.1.1 2014/01/25 14:24:51 kls Exp $ */ #ifndef __FONT_H @@ -75,7 +75,7 @@ public: ///< default width. Name is of the form "Family:Style", for instance ///< "Verdana:Bold Italic" or "Times New Roman". See GetAvailableFontNames() ///< for how to get a list of all available font names. - ///< If the requested font can't be created, NULL is returned. + ///< If the requested font can't be created, a dummy font is returned. ///< The caller must delete the font when it is no longer needed. static bool GetAvailableFontNames(cStringList *FontNames, bool Monospaced = false); ///< Queries the font configuration for a list of available font names, -- cgit v1.2.3