Commit 17b13bdc authored by Alexandre Julliard's avatar Alexandre Julliard

gdi: Support for loading fonts from the build directory.

parent bbb43033
......@@ -1128,6 +1128,8 @@ static BOOL load_font_from_data_dir(LPCWSTR file)
BOOL ret = FALSE;
const char *data_dir = wine_get_data_dir();
if (!data_dir) data_dir = wine_get_build_dir();
if (data_dir)
{
INT len;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment