diff options
Diffstat (limited to '')
-rw-r--r-- | src/command/OtherCommands.cxx | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/command/OtherCommands.cxx b/src/command/OtherCommands.cxx index 1291caf4e..55391af16 100644 --- a/src/command/OtherCommands.cxx +++ b/src/command/OtherCommands.cxx @@ -33,6 +33,7 @@ #include "protocol/Result.hxx" #include "ls.hxx" #include "Volume.hxx" +#include "util/ASCII.hxx" #include "util/UriUtil.hxx" #include "util/Error.hxx" #include "fs/AllocatedPath.hxx" @@ -47,8 +48,6 @@ #include "StickerDatabase.hxx" #endif -#include <glib.h> - #include <assert.h> #include <string.h> @@ -298,7 +297,7 @@ handle_idle(Client &client, continue; for (j = 0; idle_names[j]; ++j) { - if (!g_ascii_strcasecmp(argv[i], idle_names[j])) { + if (StringEqualsCaseASCII(argv[i], idle_names[j])) { flags |= (1 << j); } } |