From 70ad69f2449d754fcc5270ff3ca3848a77f4c7af Mon Sep 17 00:00:00 2001 From: Behdad Esfahbod Date: Wed, 7 Mar 2018 16:11:44 +0100 Subject: [PATCH] [test] Fix build with older glib --- test/api/hb-subset-test.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;