diff options
Diffstat (limited to 'libvo/font_load_ft.c')
-rw-r--r-- | libvo/font_load_ft.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libvo/font_load_ft.c b/libvo/font_load_ft.c index 7b38382462..352dbed2f9 100644 --- a/libvo/font_load_ft.c +++ b/libvo/font_load_ft.c @@ -905,7 +905,7 @@ static int load_sub_face(char *name, FT_Face *face) if (err) { err = FT_New_Face(library, get_path("subfont.ttf"), 0, face); if (err) { - err = FT_New_Face(library, DATADIR"/subfont.ttf", 0, face); + err = FT_New_Face(library, MPLAYER_DATADIR "/subfont.ttf", 0, face); if (err) { mp_msg(MSGT_OSD, MSGL_ERR, "New_Face failed. Maybe the font path is wrong.\nPlease supply the text font file (~/.mplayer/subfont.ttf).\n" ); return -1; |