[log] fix fill character for file name prefix

This commit is contained in:
Timothy Stack 2020-10-29 15:33:15 -07:00
parent 8433a67c68
commit 563fa94d39
1 changed files with 2 additions and 1 deletions

View File

@ -296,7 +296,8 @@ void logfile_sub_source::text_value_for_line(textview_curses &tc,
this->lss_basename_width = name.size();
}
}
value_out.insert(0, file_offset_end - name.size() + 1, '|');
value_out.insert(0, 1, '|');
value_out.insert(0, file_offset_end - name.size(), ' ');
value_out.insert(0, name);
} else {
// Insert space for the file/search-hit markers.