1
0
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:
Ekopalypse 2021-12-07 21:13:56 +01:00 committed by GitHub
parent fd4e071621
commit a19dd36473
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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
}
}