diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2025-04-08 12:59:07 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2025-04-10 17:35:38 +0900 |
commit | d2d30bfbef26707f9158cbc31d5763a9a1d4ab2d (patch) | |
tree | 6d2d4502d6fbe4d6810bfb7bcf297cbf995d3db8 /lib/astyle/ASFormatter.cpp | |
parent | b9618de13e8f38c3558e9ed393a75c1f13af665c (diff) | |
download | tdevelop-r14.1.4.tar.gz tdevelop-r14.1.4.zip |
Replace TRUE/FALSE with boolean values true/falser14.1.4
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit 5198c9d3ac02aa9c7949f49e3cf374f683facb18)
Diffstat (limited to 'lib/astyle/ASFormatter.cpp')
-rw-r--r-- | lib/astyle/ASFormatter.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/astyle/ASFormatter.cpp b/lib/astyle/ASFormatter.cpp index bf88affd..6e7a70f0 100644 --- a/lib/astyle/ASFormatter.cpp +++ b/lib/astyle/ASFormatter.cpp @@ -388,7 +388,7 @@ string ASFormatter::nextLine() isAppendPostBlockEmptyLineRequested = false; isInLineComment = true; // do not indent if in column 1 or 2 - if (lineCommentNoIndent == false) + if (!lineCommentNoIndent) { if (charNum == 0) lineCommentNoIndent = true; @@ -396,7 +396,7 @@ string ASFormatter::nextLine() lineCommentNoIndent = true; } // move comment if spaces were added or deleted - if (lineCommentNoIndent == false && spacePadNum != 0) + if (!lineCommentNoIndent && spacePadNum != 0) adjustComments(); formattedLineCommentNum = formattedLine.length(); appendSequence(AS_OPEN_LINE_COMMENT); |