diff options
author | Ulrich Drepper <drepper@redhat.com> | 2000-08-24 22:55:41 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2000-08-24 22:55:41 +0000 |
commit | a8f6cd907bfec6be4fa33b9cc32e676af2a8b7ef (patch) | |
tree | ba7755c92eef3decb02fc1c234c0b8a9f0acf4de | |
parent | c5ded9838b4ae59224aa2193c0df6765d0191bee (diff) | |
download | glibc-a8f6cd907bfec6be4fa33b9cc32e676af2a8b7ef.zip glibc-a8f6cd907bfec6be4fa33b9cc32e676af2a8b7ef.tar.gz glibc-a8f6cd907bfec6be4fa33b9cc32e676af2a8b7ef.tar.bz2 |
(gconv_init): Correct test for direction.
-rw-r--r-- | iconvdata/unicode.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/iconvdata/unicode.c b/iconvdata/unicode.c index d927cdf..52c2c9d 100644 --- a/iconvdata/unicode.c +++ b/iconvdata/unicode.c @@ -97,7 +97,7 @@ gconv_init (struct __gconv_step *step) enum direction dir = illegal_dir; int result; - if (__strcasecmp (step->__from_name, "UNICODE") == 0) + if (strcmp (step->__from_name, "UNICODE//") == 0) dir = from_unicode; else dir = to_unicode; |