From 284542e0ea16acf5a5b40e7f44f4bf6b9032771f Mon Sep 17 00:00:00 2001 From: John Ellson Date: Thu, 25 Feb 2016 12:28:39 -0500 Subject: [PATCH] Janitor: another [-Wmisleading-indentation] - this one harmless --- lib/common/input.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/common/input.c b/lib/common/input.c index 9d2b2538f..aaa19c9ad 100644 --- a/lib/common/input.c +++ b/lib/common/input.c @@ -140,7 +140,8 @@ static char* dotneato_basename (char* path) if (dotp && !strcasecmp(dotp+1,"exe")) *dotp = '\0'; } #endif - while (*s) s++; s--; + while (*s) s++; + s--; /* skip over trailing slashes, nulling out as we go */ while ((s > path) && ((*s == '/') || (*s == '\\'))) *s-- = '\0'; -- 2.40.0