(gconv_init): Correct test for direction.
authorUlrich Drepper <drepper@redhat.com>
Thu, 24 Aug 2000 22:55:41 +0000 (22:55 +0000)
committerUlrich Drepper <drepper@redhat.com>
Thu, 24 Aug 2000 22:55:41 +0000 (22:55 +0000)
iconvdata/unicode.c

index d927cdf..52c2c9d 100644 (file)
@@ -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;