comparison gui/interface.c @ 23341:74f5109611e2

missed part of gui code change while introducing -subfont option (patch by Piotr Kaczuba)
author ben
date Sun, 20 May 2007 21:07:14 +0000
parents 0863ec34d2e6
children c1221a031ab7
comparison
equal deleted inserted replaced
23340:15b2b1e8a568 23341:74f5109611e2
424 extern m_obj_settings_t * vf_settings; 424 extern m_obj_settings_t * vf_settings;
425 425
426 void guiLoadFont( void ) 426 void guiLoadFont( void )
427 { 427 {
428 #ifdef HAVE_FREETYPE 428 #ifdef HAVE_FREETYPE
429 load_font_ft(vo_image_width, vo_image_height); 429 load_font_ft(vo_image_width, vo_image_height, &vo_font, font_name);
430 #else 430 #else
431 if ( vo_font ) 431 if ( vo_font )
432 { 432 {
433 int i; 433 int i;
434 if ( vo_font->name ) free( vo_font->name ); 434 if ( vo_font->name ) free( vo_font->name );