aboutsummaryrefslogtreecommitdiff
path: root/iconvdata
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2000-03-21 08:08:35 +0000
committerUlrich Drepper <drepper@redhat.com>2000-03-21 08:08:35 +0000
commitbc4831b956f96efd9f4185b739b8ce8f3fa4dae6 (patch)
treeb652ba9fdd3ceccc785f9a2331ae7f2683818e04 /iconvdata
parent6abcde8e0dab27cd6b34927d11805cdff3fe9067 (diff)
downloadglibc-bc4831b956f96efd9f4185b739b8ce8f3fa4dae6.tar
glibc-bc4831b956f96efd9f4185b739b8ce8f3fa4dae6.tar.gz
glibc-bc4831b956f96efd9f4185b739b8ce8f3fa4dae6.tar.bz2
glibc-bc4831b956f96efd9f4185b739b8ce8f3fa4dae6.zip
Update.
2000-03-21 Ulrich Drepper <drepper@redhat.com> * iconvdata/utf-16.c (gconv_init): Fix typo.
Diffstat (limited to 'iconvdata')
-rw-r--r--iconvdata/utf-16.c2
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;