Переглянути джерело

Fixed BfParser::GetIndexAtLine

MineGame159 2 роки тому
батько
коміт
ce2a1a4657
1 змінених файлів з 1 додано та 1 видалено
  1. 1 1
      IDEHelper/Compiler/BfParser.cpp

+ 1 - 1
IDEHelper/Compiler/BfParser.cpp

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