mirror of
https://github.com/Icinga/icinga2.git
synced 2025-04-08 17:05:25 +02:00
Fix off-by-one mistake in error reporting for 'icinga2 console'
fixes #8500
This commit is contained in:
parent
aef2513c9e
commit
4e27ded7ce
@ -146,7 +146,7 @@ incomplete:
|
||||
if (i == di.LastLine)
|
||||
len = di.LastColumn - di.FirstColumn + 1;
|
||||
else
|
||||
len = ulines[i].GetLength();
|
||||
len = ulines[i - 1].GetLength();
|
||||
|
||||
int offset;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user