mirror of
https://github.com/storytold/harfbuzz.git
synced 2026-11-22 07:21:06 +01:00
[test] Minor, accept absolute font paths
This commit is contained in:
1 parent
8687f5c38e
commit
5e6da54166
1 file changed
+3
-3
+3
-3
@@ -309,10 +309,10 @@ static inline char *
|
||||
hb_test_resolve_path (const char *path)
|
||||
{
|
||||
#if GLIB_CHECK_VERSION(2,37,2)
|
||||
return g_test_build_filename (G_TEST_DIST, path, NULL);
|
||||
#else
|
||||
return path = g_strdup (path);
|
||||
if (path[0] != '/')
|
||||
return g_test_build_filename (G_TEST_DIST, path, NULL);
|
||||
#endif
|
||||
return g_strdup (path);
|
||||
}
|
||||
|
||||
static inline hb_face_t *
|
||||
|
||||
Reference in new issue
Block a user