From 9910243d84941a8c6ced459f46abd1971ebf287b Mon Sep 17 00:00:00 2001 From: Caleb Hearon Date: Sat, 25 Mar 2023 13:39:04 -0400 Subject: [PATCH] fix not compiling on certain windows versions --- src/register_font.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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){