From a8f6cd907bfec6be4fa33b9cc32e676af2a8b7ef Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Thu, 24 Aug 2000 22:55:41 +0000 Subject: (gconv_init): Correct test for direction. --- iconvdata/unicode.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'iconvdata/unicode.c') diff --git a/iconvdata/unicode.c b/iconvdata/unicode.c index d927cdf667..52c2c9dbdf 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; -- cgit v1.2.1