Skip to content

Commit 9910243

Browse files
chearonzbjornson
authored andcommitted
fix not compiling on certain windows versions
1 parent 9ecfb70 commit 9910243

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/register_font.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -264,7 +264,7 @@ get_pango_font_description(unsigned char* filepath) {
264264
FILE_SHARE_READ,
265265
NULL,
266266
OPEN_EXISTING,
267-
NULL,
267+
FILE_ATTRIBUTE_NORMAL,
268268
NULL
269269
);
270270
if(!hFile){

0 commit comments

Comments
 (0)