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);