diff options
-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); } |