From ce2a1a46573dbb70fd2770f1417549b18dce4c90 Mon Sep 17 00:00:00 2001 From: MineGame159 Date: Fri, 2 Dec 2022 17:49:26 +0100 Subject: [PATCH] Fixed BfParser::GetIndexAtLine --- IDEHelper/Compiler/BfParser.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } }