diff Gui/interface.c @ 10272:7b0bc557987b

renames: DATADIR->MPLAYER_DATADIR, CONFDIR->MPLAYER_CONFDIR, LIBDIR->MPLAYER_LIBDIR
author arpi
date Mon, 09 Jun 2003 12:15:48 +0000
parents f0bcaf5ea675
children 57bdcdb061d7
line wrap: on
line diff
--- a/Gui/interface.c	Mon Jun 09 12:12:04 2003 +0000
+++ b/Gui/interface.c	Mon Jun 09 12:15:48 2003 +0000
@@ -188,7 +188,7 @@
  wsXInit( (void *)mDisplay );
 // --- load skin
  skinDirInHome=get_path("Skin");
- skinMPlayerDir=DATADIR "/Skin";
+ skinMPlayerDir=MPLAYER_DATADIR "/Skin";
  printf("SKIN dir 1: '%s'\n",skinDirInHome);
  printf("SKIN dir 2: '%s'\n",skinMPlayerDir);
  if ( !skinName ) skinName=strdup( "default" );
@@ -405,7 +405,7 @@
     vo_font=read_font_desc( font_name,font_factor,0 );
     if ( !vo_font )
      {
-      gfree( (void **)&font_name ); font_name=gstrdup( DATADIR"/font/font.desc" );
+      gfree( (void **)&font_name ); font_name=gstrdup(MPLAYER_DATADIR "/font/font.desc" );
       vo_font=read_font_desc( font_name,font_factor,0 );
      }
    }