From: tholo Date: Tue, 17 Dec 1996 19:09:30 +0000 (+0000) Subject: Fix typo X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=04bdfc2ff63c3568443468c72acf38ec97419de1;p=openbsd Fix typo --- 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; }