diff options
Diffstat (limited to 'src/perl/common/Expando.xs')
-rw-r--r-- | src/perl/common/Expando.xs | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/perl/common/Expando.xs b/src/perl/common/Expando.xs index 08f5c202..5bf27bec 100644 --- a/src/perl/common/Expando.xs +++ b/src/perl/common/Expando.xs @@ -119,15 +119,15 @@ void expando_signals_add_hash(const char *key, SV *signals) SV *argsv = HeVAL(he); argstr = SvPV(argsv, PL_na); - if (strcasecmp(argstr, "none") == 0) + if (g_ascii_strcasecmp(argstr, "none") == 0) arg = EXPANDO_ARG_NONE; - else if (strcasecmp(argstr, "server") == 0) + else if (g_ascii_strcasecmp(argstr, "server") == 0) arg = EXPANDO_ARG_SERVER; - else if (strcasecmp(argstr, "window") == 0) + else if (g_ascii_strcasecmp(argstr, "window") == 0) arg = EXPANDO_ARG_WINDOW; - else if (strcasecmp(argstr, "windowitem") == 0) + else if (g_ascii_strcasecmp(argstr, "windowitem") == 0) arg = EXPANDO_ARG_WINDOW_ITEM; - else if (strcasecmp(argstr, "never") == 0) + else if (g_ascii_strcasecmp(argstr, "never") == 0) arg = EXPANDO_NEVER; else { croak("Unknown signal type: %s", argstr); |