diff --git a/src/register_font.cc b/src/register_font.cc index ae44c9aba..e43dd8125 100644 --- a/src/register_font.cc +++ b/src/register_font.cc @@ -264,7 +264,7 @@ get_pango_font_description(unsigned char* filepath) { FILE_SHARE_READ, NULL, OPEN_EXISTING, - NULL, + FILE_ATTRIBUTE_NORMAL, NULL ); if(!hFile){