fix compilation error

This commit is contained in:
Le Tan 2018-08-04 19:19:43 +08:00
parent 10a1e9c1a8
commit e5ff101085

View File

@ -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;