mirror of
https://github.com/Icinga/icinga2.git
synced 2026-02-20 00:10:29 -05:00
Fix off-by-one mistake in error reporting for 'icinga2 console'
fixes #8500
This commit is contained in:
parent
aef2513c9e
commit
4e27ded7ce
1 changed files with 1 additions and 1 deletions
|
|
@ -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 a new issue