Skip to content

Commit 7f686ef

Browse files
committed
Fix line number wrapping issue
1 parent 87f0a1e commit 7f686ef

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

resym/src/resym_app.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -484,7 +484,7 @@ impl ResymApp {
484484
.auto_shrink([false, false])
485485
.show(ui, |ui| {
486486
// TODO(ergrelet): see if there's a better way to compute this width.
487-
let line_number_digit_width = self.settings.font_size as u32;
487+
let line_number_digit_width = 2 + self.settings.font_size as u32;
488488
let (num_colums, min_column_width) = if self.settings.print_line_numbers {
489489
match self.current_mode {
490490
ResymAppMode::Comparing(_, _, last_line_number, ..) => {

0 commit comments

Comments
 (0)