diff options
Diffstat (limited to 'iconvdata')
-rw-r--r-- | iconvdata/utf-16.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/iconvdata/utf-16.c b/iconvdata/utf-16.c index 8348ce292d..55540c9849 100644 --- a/iconvdata/utf-16.c +++ b/iconvdata/utf-16.c @@ -129,7 +129,7 @@ gconv_init (struct __gconv_step *step) new_data->var = var; step->__data = new_data; - if (var == from_utf16) + if (dir == from_utf16) { step->__min_needed_from = MIN_NEEDED_FROM; step->__max_needed_from = MIN_NEEDED_FROM; |