From 9b56e4d5a02e14f86a6700856b327bb113f32e67 Mon Sep 17 00:00:00 2001 From: Ron Koenderink Date: Fri, 31 Dec 2004 14:12:34 +0000 Subject: [PATCH] (rea): Add brackets to prevent 'else' ambiguity. --- src/lib/commands/rea.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/lib/commands/rea.c b/src/lib/commands/rea.c index df9a4f80..b70f6fd5 100644 --- a/src/lib/commands/rea.c +++ b/src/lib/commands/rea.c @@ -205,11 +205,12 @@ rea(void) } } } - if (teles <= 0) + if (teles <= 0) { if (player->cnum == num) pr("No %ss for you at the moment...\n", kind); else pr("No %ss for %s at the moment...\n", kind, cname(num)); + } (void)fclose(telfp); if (np->nat_flags & NF_INFORM) { pr_inform(player, "\n");