(gconv_init): Fix typo.
authordrepper <drepper>
Tue, 21 Mar 2000 08:08:20 +0000 (08:08 +0000)
committerdrepper <drepper>
Tue, 21 Mar 2000 08:08:20 +0000 (08:08 +0000)
iconvdata/utf-16.c

index 8348ce2..55540c9 100644 (file)
@@ -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;