mirror of https://github.com/Icinga/icinga2.git
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…
Reference in New Issue