mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-17 15:46:05 +02:00
Merge pull request #1766 from MineGame159/fix_GetIndexAtLine
Fixed BfParser::GetIndexAtLine
This commit is contained in:
commit
5894889a8b
1 changed files with 1 additions and 1 deletions
|
@ -465,7 +465,7 @@ int BfParser::GetIndexAtLine(int line)
|
|||
{
|
||||
curLine++;
|
||||
if (line == curLine)
|
||||
return i;
|
||||
return i + 1;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue