mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-22 13:00:06 +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;
|
enum direction dir = illegal_dir;
|
||||||
int result;
|
int result;
|
||||||
|
|
||||||
if (__strcasecmp (step->__from_name, "UNICODE") == 0)
|
if (strcmp (step->__from_name, "UNICODE//") == 0)
|
||||||
dir = from_unicode;
|
dir = from_unicode;
|
||||||
else
|
else
|
||||||
dir = to_unicode;
|
dir = to_unicode;
|
||||||
|
Loading…
Reference in New Issue
Block a user