Skip to content

Commit 0ad75e0

Browse files
committed
remove accidental minus 0
1 parent f6e19e8 commit 0ad75e0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/src/line_number_cache.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ class LineNumberCache {
5151
if (lastKey != null) {
5252
return new Tuple2(lineMap[lastKey], offset - lastKey);
5353
} else {
54-
return new Tuple2(lineMap[0], offset - 0);
54+
return new Tuple2(lineMap[0], offset);
5555
}
5656
}
5757
}

0 commit comments

Comments
 (0)