mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
cgen: ensure the different gdi32 notations are always matched in is_gui_app (#12756)
This commit is contained in:
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
Block a user