mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-02-26 06:40:22 +00:00
Merge branch 'off_by_one' into 'master'
Fix error reporting line numbers See merge request OpenMW/openmw!2483
This commit is contained in:
commit
2091a81e1b
@ -109,6 +109,7 @@ namespace fx
|
||||
if (level == 0)
|
||||
{
|
||||
mHead--;
|
||||
mLine--;
|
||||
auto sv = std::string_view{ start, static_cast<std::string_view::size_type>(mHead + 1 - start) };
|
||||
mLastJumpBlock.content = sv;
|
||||
return sv;
|
||||
|
Loading…
x
Reference in New Issue
Block a user