summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorThorsten Lockert <tholo@cvs.openbsd.org>1996-12-17 19:09:31 +0000
committerThorsten Lockert <tholo@cvs.openbsd.org>1996-12-17 19:09:31 +0000
commit24a65aab096e3018a664121896075cf3d5db72e9 (patch)
tree75a1ff9938f2ba0f2d4aa50721e09b0bab4a97d9 /bin
parent1b6b1653c04be7610086e89d5d286dcf2363cbe0 (diff)
Fix typo
Diffstat (limited to 'bin')
-rw-r--r--bin/stty/key.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/bin/stty/key.c b/bin/stty/key.c
index 4b9f40f94ce..eaaab19d072 100644
--- a/bin/stty/key.c
+++ b/bin/stty/key.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: key.c,v 1.5 1996/12/16 20:04:39 tholo Exp $ */
+/* $OpenBSD: key.c,v 1.6 1996/12/17 19:09:30 tholo Exp $ */
/* $NetBSD: key.c,v 1.11 1995/09/07 06:57:11 jtc Exp $ */
/*-
@@ -38,7 +38,7 @@
#if 0
static char sccsid[] = "@(#)key.c 8.4 (Berkeley) 2/20/95";
#else
-static char rcsid[] = "$OpenBSD: key.c,v 1.5 1996/12/16 20:04:39 tholo Exp $";
+static char rcsid[] = "$OpenBSD: key.c,v 1.6 1996/12/17 19:09:30 tholo Exp $";
#endif
#endif /* not lint */
@@ -227,13 +227,13 @@ f_lcase(ip)
struct info *ip;
{
if (ip->off) {
- ip.t_iflag &= ~IUCLC;
- ip.t_oflag &= ~OLCUC;
- ip.t_lflag &= ~XCASE;
+ ip->t.c_iflag &= ~IUCLC;
+ ip->t.c_oflag &= ~OLCUC;
+ ip->t.c_lflag &= ~XCASE;
} else {
- ip.t_iflag |= IUCLC;
- ip.t_oflag |= OLCUC;
- ip.t_lflag |= XCASE;
+ ip->t.c_iflag |= IUCLC;
+ ip->t.c_oflag |= OLCUC;
+ ip->t.c_lflag |= XCASE;
}
ip->set = 1;
}