fix line numbers being off by one for each jump block

7098-improve-post-process-behavior-with-transparent-objects
glassmancody.info 2 years ago
parent 4f5443118e
commit 87c0a6e6dc

@ -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…
Cancel
Save