diff options
author | Bruno Haible <bruno@clisp.org> | 2008-05-10 15:40:48 +0200 |
---|---|---|
committer | Bruno Haible <bruno@clisp.org> | 2008-05-10 15:40:48 +0200 |
commit | 17ef7533a2d2a52e7d12448a76ffb06efeb3f47b (patch) | |
tree | 4e9b778fabf5afbe5533499b1a436586cd96ee4b /lib/unilbrk | |
parent | 3bcc3f3d73d014f863c561fd129b34c3e058feed (diff) | |
download | gnulib-17ef7533a2d2a52e7d12448a76ffb06efeb3f47b.tar.gz |
Use case-insensitive comparison.
Diffstat (limited to 'lib/unilbrk')
-rw-r--r-- | lib/unilbrk/ulc-common.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/unilbrk/ulc-common.c b/lib/unilbrk/ulc-common.c index 7bdfa44919..d035ded727 100644 --- a/lib/unilbrk/ulc-common.c +++ b/lib/unilbrk/ulc-common.c @@ -21,12 +21,12 @@ #include "unilbrk/ulc-common.h" #include "c-ctype.h" -#include "streq.h" +#include "c-strcaseeq.h" int is_utf8_encoding (const char *encoding) { - if (STREQ (encoding, "UTF-8", 'U', 'T', 'F', '-', '8', 0, 0, 0 ,0)) + if (STRCASEEQ (encoding, "UTF-8", 'U', 'T', 'F', '-', '8', 0, 0, 0, 0)) return 1; return 0; } |