cgen: ensure the different gdi32 notations are always matched in is_gui_app (#12756)

pull/12761/head
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
1 changed files with 1 additions and 1 deletions

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