Fix off-by-one mistake for error reporting

refs #8133
This commit is contained in:
Gunnar Beutner 2015-02-10 15:40:37 +01:00
parent 0f3975005e
commit 43595515eb
1 changed files with 2 additions and 4 deletions

View File

@ -138,11 +138,9 @@ incomplete:
for (int i = 1; i <= ulines.size(); i++) {
int start, len;
if (i == di.FirstLine) {
if (i == di.FirstLine)
start = di.FirstColumn;
if (start > 0)
start--;
} else
else
start = 0;
if (i == di.LastLine)