diff options
author | dholland <dholland@NetBSD.org> | 2009-03-02 06:43:53 +0000 |
---|---|---|
committer | dholland <dholland@NetBSD.org> | 2009-03-02 06:43:53 +0000 |
commit | b8313a402e72751bb0d6bed552f055d92fb21620 (patch) | |
tree | c4751c263a7c474c145b2238834481b531c290b3 /sail | |
parent | dd096191dcfacdcbd63dabb28e4aeb1c79cfafae (diff) | |
download | bsdgames-darwin-b8313a402e72751bb0d6bed552f055d92fb21620.tar.gz bsdgames-darwin-b8313a402e72751bb0d6bed552f055d92fb21620.tar.zst bsdgames-darwin-b8313a402e72751bb0d6bed552f055d92fb21620.zip |
Braces around a nested if, for clarity; suggested by diffing against OpenBSD.
Diffstat (limited to 'sail')
-rw-r--r-- | sail/dr_2.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sail/dr_2.c b/sail/dr_2.c index 9d166cfb..72c6ef7e 100644 --- a/sail/dr_2.c +++ b/sail/dr_2.c @@ -1,4 +1,4 @@ -/* $NetBSD: dr_2.c,v 1.19 2003/08/07 09:37:41 agc Exp $ */ +/* $NetBSD: dr_2.c,v 1.20 2009/03/02 06:43:53 dholland Exp $ */ /* * Copyright (c) 1983, 1993 @@ -34,7 +34,7 @@ #if 0 static char sccsid[] = "@(#)dr_2.c 8.1 (Berkeley) 5/31/93"; #else -__RCSID("$NetBSD: dr_2.c,v 1.19 2003/08/07 09:37:41 agc Exp $"); +__RCSID("$NetBSD: dr_2.c,v 1.20 2009/03/02 06:43:53 dholland Exp $"); #endif #endif /* not lint */ @@ -70,12 +70,12 @@ thinkofgrapples(void) continue; if (range(sp, sq) != 1) continue; - if (grappled2(sp, sq)) + if (grappled2(sp, sq)) { if (is_toughmelee(sp, sq, 0, 0)) ungrap(sp, sq); else grap(sp, sq); - else if (couldwin(sp, sq)) { + } else if (couldwin(sp, sq)) { grap(sp, sq); sp->file->loadwith = L_GRAPE; } |