Fix off-by-one mistake in error reporting for 'icinga2 console'

fixes #8500
This commit is contained in:
Gunnar Beutner 2015-02-21 13:19:04 +01:00
parent aef2513c9e
commit 4e27ded7ce
1 changed files with 1 additions and 1 deletions

View File

@ -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;