changeset 7146:c3f4a1c124ed

This patch fixes a compile error when HAVE_FREETYPE is not defined. Alexander.Gottwald@informatik.tu-chemnitz.de
author arpi
date Thu, 29 Aug 2002 21:06:33 +0000
parents 3854945aefbb
children 0541f7fb59bf
files Gui/cfg.c
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/Gui/cfg.c	Thu Aug 29 20:50:49 2002 +0000
+++ b/Gui/cfg.c	Thu Aug 29 21:06:33 2002 +0000
@@ -82,12 +82,14 @@
  { "sub_pos",&sub_pos,CONF_TYPE_INT,CONF_RANGE,0,200,NULL },
  { "font_factor",&font_factor,CONF_TYPE_FLOAT,CONF_RANGE,0.0,10.0,NULL },
  { "font_name",&font_name,CONF_TYPE_STRING,0,0,0,NULL },
+#ifdef HAVE_FREETYPE 
  { "font_encoding",&subtitle_font_encoding,CONF_TYPE_STRING,0,0,0,NULL },
  { "font_text_scale",&text_font_scale_factor,CONF_TYPE_FLOAT,CONF_RANGE,0,100,NULL },
  { "font_osd_scale",&osd_font_scale_factor,CONF_TYPE_FLOAT,CONF_RANGE,0,100,NULL },
  { "font_blur",&subtitle_font_thickness,CONF_TYPE_FLOAT,CONF_RANGE,0,8,NULL },
  { "font_outline",&subtitle_font_thickness,CONF_TYPE_FLOAT,CONF_RANGE,0,8,NULL },
  { "font_autoscale",&subtitle_autoscale,CONF_TYPE_INT,CONF_RANGE,0,3,NULL },
+#endif
  
  { "gui_skin",&skinName,CONF_TYPE_STRING,0,0,0,NULL },