From 4f3218f0bb8b97a437dfbf9a71227cb0a3180028 Mon Sep 17 00:00:00 2001 From: Pavel Roskin Date: Tue, 22 Sep 1998 13:52:35 +0000 Subject: [PATCH] Added braces to suppress a warning. --- src/panelize.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/panelize.c b/src/panelize.c index de5fc1b69..9050ccb50 100644 --- a/src/panelize.c +++ b/src/panelize.c @@ -411,11 +411,12 @@ void do_external_panelize (char *command) cpanel->has_dir_sizes = 0; while (1) { clearerr(external); - if (fgets (line, MC_MAXPATHLEN, external) == NULL) + if (fgets (line, MC_MAXPATHLEN, external) == NULL) { if (ferror(external) && errno == EINTR) continue; else break; + } if (line[strlen(line)-1] == '\n') line[strlen(line)-1] = 0; if (strlen(line) < 1)