cgen: ensure the different gdi32 notations are always matched in is_gui_app (#12756)
parent
fd4e071621
commit
a19dd36473
|
@ -1612,7 +1612,7 @@ fn (mut g Gen) is_gui_app() bool {
|
|||
return false
|
||||
}
|
||||
for cf in g.table.cflags {
|
||||
if cf.value == 'gdi32' {
|
||||
if cf.value.to_lower() == 'gdi32' {
|
||||
return true
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue