(gconv_init): Correct test for direction.

This commit is contained in:
Ulrich Drepper 2000-08-24 22:55:41 +00:00
parent c5ded9838b
commit a8f6cd907b

View 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;