mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-21 20:40:05 +00:00
(gconv_init): Correct test for direction.
This commit is contained in:
parent
c5ded9838b
commit
a8f6cd907b
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user