Skip to content

Commit a19dd36

Browse files
authored
cgen: ensure the different gdi32 notations are always matched in is_gui_app (#12756)
1 parent fd4e071 commit a19dd36

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

vlib/v/gen/c/fn.v

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1612,7 +1612,7 @@ fn (mut g Gen) is_gui_app() bool {
16121612
return false
16131613
}
16141614
for cf in g.table.cflags {
1615-
if cf.value == 'gdi32' {
1615+
if cf.value.to_lower() == 'gdi32' {
16161616
return true
16171617
}
16181618
}

0 commit comments

Comments
 (0)