Fix typo in is646 gconv module

This commit is contained in:
Andreas Schwab 2009-09-20 09:42:48 +02:00
parent fc0c556c5f
commit ae0f0dbd0e
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2009-09-20 Andreas Schwab <schwab@linux-m68k.org>
* iconvdata/iso646.c (gconv_init): Correctly initialize the
character size elements in step data.
2009-09-20 Ulrich Drepper <drepper@redhat.com>
* po/hu.po: Update from translation team.

View File

@ -156,7 +156,7 @@ gconv_init (struct __gconv_step *step)
new_data->var = var;
step->__data = new_data;
if (var == from_iso646)
if (dir == from_iso646)
{
step->__min_needed_from = MIN_NEEDED_FROM;
step->__max_needed_from = MIN_NEEDED_FROM;