diff --git a/test/api/hb-subset-test.h b/test/api/hb-subset-test.h index 8e579a6c3..f8386b160 100644 --- a/test/api/hb-subset-test.h +++ b/test/api/hb-subset-test.h @@ -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;