about summary refs log tree commit diff
path: root/iconvdata/iso646.c
diff options
context:
space:
mode:
authorAndreas Schwab <schwab@linux-m68k.org>2009-09-20 09:42:48 +0200
committerAndreas Schwab <schwab@linux-m68k.org>2009-09-20 09:42:48 +0200
commitae0f0dbd0e6205af474cd8e5d5f43ff7a7e46eec (patch)
tree2f79102805d1dec2238ba88ad9b9833e022a5a17 /iconvdata/iso646.c
parentfc0c556c5f01d60b1ca465a29a38bb2f23ee1dd6 (diff)
downloadglibc-ae0f0dbd0e6205af474cd8e5d5f43ff7a7e46eec.tar.gz
glibc-ae0f0dbd0e6205af474cd8e5d5f43ff7a7e46eec.tar.xz
glibc-ae0f0dbd0e6205af474cd8e5d5f43ff7a7e46eec.zip
Fix typo in is646 gconv module
Diffstat (limited to 'iconvdata/iso646.c')
-rw-r--r--iconvdata/iso646.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/iconvdata/iso646.c b/iconvdata/iso646.c
index f388ae7de2..0989532c72 100644
--- a/iconvdata/iso646.c
+++ b/iconvdata/iso646.c
@@ -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;