summaryrefslogtreecommitdiffstats
path: root/usr.sbin/pcvt/keycap/keycap.c
diff options
context:
space:
mode:
Diffstat (limited to 'usr.sbin/pcvt/keycap/keycap.c')
-rw-r--r--usr.sbin/pcvt/keycap/keycap.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/pcvt/keycap/keycap.c b/usr.sbin/pcvt/keycap/keycap.c
index f70e987..9bbb7e5 100644
--- a/usr.sbin/pcvt/keycap/keycap.c
+++ b/usr.sbin/pcvt/keycap/keycap.c
@@ -91,7 +91,7 @@ char *id,*cstr;
register char *c = cstr+n;
if (strncmp(id,cstr,n)==0 &&
- (*c==':' || *c=='|' || *c=='=' || *c=='#') || *c=='@')
+ (*c==':' || *c=='|' || *c=='=' || *c=='#') || *c=='@')
return c;
return 0;
}
@@ -258,7 +258,7 @@ char *id;
bp = kskip(bp);
if (*bp == 0)
return (-1);
- if ((xp=nmatch(id,bp)) == 0)
+ if ((xp=nmatch(id,bp)) == 0)
continue;
bp = xp; /* we have an entry */
if (*bp == '@')
OpenPOWER on IntegriCloud