From 46b8347217f5ab3cd8b08bb4dfbfbbf415321e5b Mon Sep 17 00:00:00 2001 From: Johanne Schock Date: Sun, 8 Mar 2020 20:12:06 +0100 Subject: [PATCH] Style --- tools/nxstyle.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/nxstyle.c b/tools/nxstyle.c index cf3a378b8c..47c56151ef 100644 --- a/tools/nxstyle.c +++ b/tools/nxstyle.c @@ -715,7 +715,7 @@ int main(int argc, char **argv, char **envp) * preceding line has no comment. */ - if (line[n] != '}' && line[n] != '#' && !prevrhcmt) + if (line[n] != '}' && line[n] != '#' && prevrhcmt == 0) { ERROR("Missing blank line after comment", comment_lineno, 1);