From 1c31f9e8c2971eeba976342fc9de02e5b860f172 Mon Sep 17 00:00:00 2001 From: Richard Hughes Date: Sun, 17 Jan 2021 16:52:55 +0000 Subject: trivial: Allow any case for device-set-enabled Fixes https://github.com/hughsie/colord/issues/125 --- client/cd-util.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/cd-util.c b/client/cd-util.c index 10ac2eb..aa68af1 100644 --- a/client/cd-util.c +++ b/client/cd-util.c @@ -1729,7 +1729,7 @@ cd_util_device_set_enabled (CdUtilPrivate *priv, gchar **values, GError **error) if (!cd_device_connect_sync (device, NULL, error)) return FALSE; return cd_device_set_enabled_sync (device, - g_strcmp0 (values[1], "True") == 0, + g_ascii_strncasecmp (values[1], "True", 4) == 0, NULL, error); } -- cgit v1.2.1