From a19dd36473a67eb046a71e5813c1691259c8def8 Mon Sep 17 00:00:00 2001 From: Ekopalypse <47723516+Ekopalypse@users.noreply.github.com> Date: Tue, 7 Dec 2021 21:13:56 +0100 Subject: [PATCH] cgen: ensure the different gdi32 notations are always matched in is_gui_app (#12756) --- vlib/v/gen/c/fn.v | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vlib/v/gen/c/fn.v b/vlib/v/gen/c/fn.v index e5a3d9ac49..7a6ba5a584 100644 --- a/vlib/v/gen/c/fn.v +++ b/vlib/v/gen/c/fn.v @@ -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 } }