diff --git a/IDEHelper/Compiler/BfParser.cpp b/IDEHelper/Compiler/BfParser.cpp index 3b0ccad6..b709b4fb 100644 --- a/IDEHelper/Compiler/BfParser.cpp +++ b/IDEHelper/Compiler/BfParser.cpp @@ -465,7 +465,7 @@ int BfParser::GetIndexAtLine(int line) { curLine++; if (line == curLine) - return i; + return i + 1; } }