From e5ff101085eb2f77e13e99e99c5ba98d6d7d5472 Mon Sep 17 00:00:00 2001 From: Le Tan Date: Sat, 4 Aug 2018 19:19:43 +0800 Subject: [PATCH] fix compilation error --- src/pegmarkdownhighlighter.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/pegmarkdownhighlighter.cpp b/src/pegmarkdownhighlighter.cpp index 59d1e4fe..83189759 100644 --- a/src/pegmarkdownhighlighter.cpp +++ b/src/pegmarkdownhighlighter.cpp @@ -697,8 +697,7 @@ void PegMarkdownHighlighter::getFastParseBlockRange(int p_position, goto goup; } - int indent = VEditUtils::fetchIndentation(firstBlock); - if (indent == 0) { + if (VEditUtils::fetchIndentation(firstBlock) == 0) { // If previous block is empty, then we could stop now. if (VEditUtils::isEmptyBlock(preBlock)) { break;