diff options
author | Richard Hughes <richard@hughsie.com> | 2021-01-17 16:52:55 +0000 |
---|---|---|
committer | Richard Hughes <richard@hughsie.com> | 2021-01-17 16:52:55 +0000 |
commit | 1c31f9e8c2971eeba976342fc9de02e5b860f172 (patch) | |
tree | 636283f6adc44f6d26f93c918da118ad4089f9c0 | |
parent | ddc06e33d0b8f6d0ffa4b87e77d19e69e5a72a84 (diff) | |
download | colord-wip/hughsie/cd_util_device_set_enabled_TRUE.tar.gz |
trivial: Allow any case for device-set-enabledwip/hughsie/cd_util_device_set_enabled_TRUE
Fixes https://github.com/hughsie/colord/issues/125
-rw-r--r-- | client/cd-util.c | 2 |
1 files changed, 1 insertions, 1 deletions
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); } |