From 26ed5a094d93bb19c3fa7e2a29ccca62a7955c64 Mon Sep 17 00:00:00 2001 From: dholland Date: Sun, 24 Feb 2008 06:03:35 +0000 Subject: Fix some more lint. (There's plenty to go around.) If we try to load a game and it bombs, keep prompting for another one, because if we try to continue with a half-loaded game we'll probably end up in trouble. --- monop/monop.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'monop/monop.c') diff --git a/monop/monop.c b/monop/monop.c index 72b4b2b8..e4faa86e 100644 --- a/monop/monop.c +++ b/monop/monop.c @@ -1,4 +1,4 @@ -/* $NetBSD: monop.c,v 1.22 2008/02/24 03:56:49 christos Exp $ */ +/* $NetBSD: monop.c,v 1.23 2008/02/24 06:03:35 dholland Exp $ */ /* * Copyright (c) 1980, 1993 @@ -39,7 +39,7 @@ __COPYRIGHT("@(#) Copyright (c) 1980, 1993\n\ #if 0 static char sccsid[] = "@(#)monop.c 8.1 (Berkeley) 5/31/93"; #else -__RCSID("$NetBSD: monop.c,v 1.22 2008/02/24 03:56:49 christos Exp $"); +__RCSID("$NetBSD: monop.c,v 1.23 2008/02/24 06:03:35 dholland Exp $"); #endif #endif /* not lint */ @@ -235,7 +235,7 @@ main(ac, av) init_decks(); init_monops(); if (ac > 1) { - if (!rest_f(av[1])) + if (rest_f(av[1]) < 0) restore(); } else { -- cgit v1.2.3-56-ge451