summaryrefslogtreecommitdiff
path: root/config.h
diff options
context:
space:
mode:
authorAndreas Mair <amair.sob@googlemail.com>2007-06-18 16:15:02 +0200
committerAndreas Mair <amair.sob@googlemail.com>2007-06-18 16:15:02 +0200
commitae9c6ccad6ba1ab419fe73d9e75f545cbbb62c96 (patch)
tree93b92c34288204f9bcf0108002a19938a23fea96 /config.h
parent24439e72e8b0d13bccce21e19a28d70d1bd98760 (diff)
downloadvdr-plugin-skinenigmang-ae9c6ccad6ba1ab419fe73d9e75f545cbbb62c96.tar.gz
vdr-plugin-skinenigmang-ae9c6ccad6ba1ab419fe73d9e75f545cbbb62c96.tar.bz2
2007-06-18: Version 0.0.5rc2v0.0.5rc2
- Added Italian translation (Submitted by Gringo). - Changed logging to only report missing channel logos once. - Use MAXFONTNAME and MAXFONTSIZE as introduced in VDR 1.5.3. - Recognize VDR >=1.5.3 and disable HAVE_FREETYPE. - Fixed font initialization. - Updated MoBuntu theme (Submitted by Morone @vdr-portal.de). - Set correct editable width for OSD text inputs (Reported by Brougs78 @vdr-portal.de). - Fixed calculation of bottom line in channel info (Reported by CKone @vdr-portal.de). - Hide "Set" button in fonts setup if TTF support disabled. - Fixed crash in TTF setup if no TrueType fonts were found (Reported by pat @vdr-portal.de). - Set correct title in setup submenus (Reported by pat @vdr-portal.de). - Minor bugfixes.
Diffstat (limited to 'config.h')
-rw-r--r--config.h10
1 files changed, 9 insertions, 1 deletions
diff --git a/config.h b/config.h
index de51ce5..1836f05 100644
--- a/config.h
+++ b/config.h
@@ -22,6 +22,14 @@ extern const char *imageExtensionTexts[NUM_IMAGEEXTENSIONTEXTS];
#endif
#include <vdr/skins.h>
+#include <vdr/font.h>
+
+#ifndef MAXFONTNAME
+#define MAXFONTNAME 64
+#endif
+#ifndef MAXFONTSIZE
+#define MAXFONTSIZE 64
+#endif
struct EnigmaOsdSize
{
@@ -59,7 +67,7 @@ enum
struct FontInfo
{
int VdrId;
- char Name[255];
+ char Name[MAXFONTNAME + 1];
int Width;
int Size;
};