From ef80b2cf1b369f29223ab0610ae06e39729c2d35 Mon Sep 17 00:00:00 2001 From: Chocobo1 Date: Sat, 25 Aug 2018 03:17:45 +0800 Subject: [PATCH] Add parentheses --- src/nppAutoDetectIndent.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/nppAutoDetectIndent.cpp b/src/nppAutoDetectIndent.cpp index 4b272ef..b3b859c 100644 --- a/src/nppAutoDetectIndent.cpp +++ b/src/nppAutoDetectIndent.cpp @@ -58,7 +58,7 @@ namespace { for (const char c : str) { - if (c == '\t' || c == ' ') + if ((c == '\t') || (c == ' ')) continue; return c; }