diff -ur mc.orig/src/viewer/display.c mc/src/viewer/display.c
old
|
new
|
|
168 | 168 | tty_print_string (str_fit_to_term (file_label, width - 34, J_LEFT_FIT)); |
169 | 169 | else |
170 | 170 | tty_print_string (str_fit_to_term (file_label, width - 5, J_LEFT_FIT)); |
171 | | if (width > 26) |
| 171 | if (width > 27) |
172 | 172 | mcview_percent (view, view->hex_mode ? view->hex_cursor : view->dpy_end); |
173 | 173 | } |
174 | 174 | |
… |
… |
|
398 | 398 | int percent; |
399 | 399 | off_t filesize; |
400 | 400 | |
401 | | if (height < 1 || right < 4) |
| 401 | if (height < 1 || right < 5) |
402 | 402 | return; |
403 | 403 | if (mcview_may_still_grow (view)) |
404 | 404 | return; |
… |
… |
|
411 | 411 | else |
412 | 412 | percent = p * 100 / filesize; |
413 | 413 | |
414 | | widget_move (view, top, right - 4); |
| 414 | widget_move (view, top, right - 5); |
415 | 415 | tty_printf ("%3d%%", percent); |
416 | 416 | } |
417 | 417 | |