Fix -verbose-error source lines from having last char cut off

Fixes #1226
This commit is contained in:
Zac Nowicki
2022-09-15 07:07:55 -04:00
parent f50fc33749
commit 4767311a22

View File

@@ -41,7 +41,6 @@ gbString get_file_line_as_string(TokenPos const &pos, i32 *offset_) {
while (line_end < end) {
if (*line_end == '\n') {
line_end -= 1;
break;
}
line_end += 1;