[test] Fix build with older glib

This commit is contained in:
Behdad Esfahbod 2018-03-07 16:11:44 +01:00
parent ff2f81432b
commit 70ad69f244
1 changed files with 1 additions and 1 deletions

View File

@ -75,7 +75,7 @@ hb_subset_test_open_font (const char *font_path)
#if GLIB_CHECK_VERSION(2,37,2)
gchar* path = g_test_build_filename(G_TEST_DIST, font_path, NULL);
#else
gchar* path = g_strdup(fontFile);
gchar* path = g_strdup(font_path);
#endif
size_t length;