diff options
-rw-r--r-- | usr.bin/mg/match.c | 24 |
1 files changed, 6 insertions, 18 deletions
diff --git a/usr.bin/mg/match.c b/usr.bin/mg/match.c index 968ad04f001..70bdead6ced 100644 --- a/usr.bin/mg/match.c +++ b/usr.bin/mg/match.c @@ -1,4 +1,4 @@ -/* $OpenBSD: match.c,v 1.13 2006/07/25 08:22:32 kjell Exp $ */ +/* $OpenBSD: match.c,v 1.14 2008/06/13 19:01:53 kjell Exp $ */ /* This file is in the public domain. */ @@ -28,21 +28,11 @@ static void displaymatch(struct line *, int); static struct balance { char left, right; } bal[] = { - { - '(', ')' - }, - { - '[', ']' - }, - { - '{', '}' - }, - { - '<', '>' - }, - { - '\0', '\0' - } + { '(', ')' }, + { '[', ']' }, + { '{', '}' }, + { '<', '>' }, + { '\0', '\0' } }; /* @@ -54,8 +44,6 @@ showmatch(int f, int n) { int i, s; - if (f & FFRAND) - return (FALSE); for (i = 0; i < n; i++) { if ((s = selfinsert(FFRAND, 1)) != TRUE) return (s); |