Browse Source

Fixed BfParser::GetIndexAtLine

MineGame159 2 years ago
parent
commit
ce2a1a4657
1 changed files with 1 additions and 1 deletions
  1. 1 1
      IDEHelper/Compiler/BfParser.cpp

+ 1 - 1
IDEHelper/Compiler/BfParser.cpp

@@ -465,7 +465,7 @@ int BfParser::GetIndexAtLine(int line)
 		{
 			curLine++;
 			if (line == curLine)
-				return i;
+				return i + 1;
 		}
 	}