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:
@@ -1612,7 +1612,7 @@ fn (mut g Gen) is_gui_app() bool {
|
|||||||
return false
|
return false
|
||||||
}
|
}
|
||||||
for cf in g.table.cflags {
|
for cf in g.table.cflags {
|
||||||
if cf.value == 'gdi32' {
|
if cf.value.to_lower() == 'gdi32' {
|
||||||
return true
|
return true
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user