diff options
author | Berke Viktor <berkeviktor@aol.com> | 2012-06-16 13:01:47 +0200 |
---|---|---|
committer | Berke Viktor <berkeviktor@aol.com> | 2012-06-16 13:01:47 +0200 |
commit | 35821f3875e4a718932f7f67debdeacaa8c6cc3d (patch) | |
tree | 33b2ab7391e65f4a805207f272c6f25671c822c8 /src/common/plugin-timer.c | |
parent | ee7dcc5f22cfc5fcd6b36e948ab1d970fb8dcc3b (diff) |
Fix string handling for Turkish locale
Diffstat (limited to 'src/common/plugin-timer.c')
-rw-r--r-- | src/common/plugin-timer.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/common/plugin-timer.c b/src/common/plugin-timer.c index f09074a8..431ce8ab 100644 --- a/src/common/plugin-timer.c +++ b/src/common/plugin-timer.c @@ -4,7 +4,7 @@ #include "xchat-plugin.h" #ifdef WIN32 -#define strcasecmp stricmp +#define g_ascii_strcasecmp stricmp #endif static xchat_plugin *ph; /* plugin handle */ @@ -151,25 +151,25 @@ timer_cb (char *word[], char *word_eol[], void *userdata) return XCHAT_EAT_XCHAT; } - if (strcasecmp (word[2], "-quiet") == 0) + if (g_ascii_strcasecmp (word[2], "-quiet") == 0) { quiet = TRUE; offset++; } - if (strcasecmp (word[2 + offset], "-delete") == 0) + if (g_ascii_strcasecmp (word[2 + offset], "-delete") == 0) { timer_del_ref (atoi (word[3 + offset]), quiet); return XCHAT_EAT_XCHAT; } - if (strcasecmp (word[2 + offset], "-refnum") == 0) + if (g_ascii_strcasecmp (word[2 + offset], "-refnum") == 0) { ref = atoi (word[3 + offset]); offset += 2; } - if (strcasecmp (word[2 + offset], "-repeat") == 0) + if (g_ascii_strcasecmp (word[2 + offset], "-repeat") == 0) { repeat = atoi (word[3 + offset]); offset += 2; |