From 04fe412414059b3bc18683ec1753ec29df10ef9d Mon Sep 17 00:00:00 2001 From: Gregory Nutt Date: Wed, 13 Mar 2019 07:05:31 -0600 Subject: [PATCH] tools/nxstyle.c: Costmetic alignment and corrections to comments. --- tools/nxstyle.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/tools/nxstyle.c b/tools/nxstyle.c index 99f2e3e322..be8dac8f1e 100644 --- a/tools/nxstyle.c +++ b/tools/nxstyle.c @@ -563,7 +563,7 @@ int main(int argc, char **argv, char **envp) { switch (line[n]) { - /* Sequence containing 'v' may occur at the + /* A sequence containing 'v' may occur at the * beginning of the identifier. */ @@ -597,14 +597,14 @@ int main(int argc, char **argv, char **envp) } break; - /* Sequence containing 'p' or 'd' must have been + /* Sequences containing 'p' or 'd' must have been * preceded by upper case characters. */ case 'p': if (!have_upper || n < 1 || - !isdigit(line[n - 1]) || - !isdigit(line[n + 1]))) + !isdigit(line[n - 1]) || + !isdigit(line[n + 1])) { have_lower = true; }