mirror of
https://sourceware.org/git/glibc.git
synced 2025-08-08 17:42:12 +03:00
(gconv_init): Correct test for direction.
This commit is contained in:
@@ -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;
|
||||
|
Reference in New Issue
Block a user