From 927a087250c6d788d6df6cc7fcb0359653e2efd3 Mon Sep 17 00:00:00 2001 From: dholland Date: Sun, 24 May 2009 21:44:56 +0000 Subject: KNF: brace and comment placement. Object files identical. --- trek/impulse.c | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) (limited to 'trek/impulse.c') diff --git a/trek/impulse.c b/trek/impulse.c index 50be22b9..b1491d0a 100644 --- a/trek/impulse.c +++ b/trek/impulse.c @@ -1,4 +1,4 @@ -/* $NetBSD: impulse.c,v 1.8 2009/05/24 19:18:44 dholland Exp $ */ +/* $NetBSD: impulse.c,v 1.9 2009/05/24 21:44:56 dholland Exp $ */ /* * Copyright (c) 1980, 1993 @@ -34,7 +34,7 @@ #if 0 static char sccsid[] = "@(#)impulse.c 8.1 (Berkeley) 5/31/93"; #else -__RCSID("$NetBSD: impulse.c,v 1.8 2009/05/24 19:18:44 dholland Exp $"); +__RCSID("$NetBSD: impulse.c,v 1.9 2009/05/24 21:44:56 dholland Exp $"); #endif #endif /* not lint */ @@ -67,8 +67,7 @@ impulse(int v __unused) return; power = 20 + 100 * dist; percent = 100 * power / Ship.energy + 0.5; - if (percent >= 85) - { + if (percent >= 85) { printf("Scotty: That would consume %d%% of our remaining energy.\n", percent); if (!getynpar("Are you sure that is wise")) @@ -77,8 +76,7 @@ impulse(int v __unused) } time = dist / 0.095; percent = 100 * time / Now.time + 0.5; - if (percent >= 85) - { + if (percent >= 85) { printf("Spock: That would take %d%% of our remaining time.\n", percent); if (!getynpar("Are you sure that is wise")) -- cgit v1.2.3-56-ge451