diff --git a/src/viewer/display.c b/src/viewer/display.c
index 40e57a6..1f90aec 100644
a
|
b
|
|
56 | 56 | |
57 | 57 | /*** file scope macro definitions ****************************************************************/ |
58 | 58 | |
59 | | #define BUF_TRUNC_LEN 5 /* The length of the line displays the file size */ |
| 59 | #define BUF_TRUNC_LEN 11 /* The length of the line displays the file size */ |
60 | 60 | |
61 | 61 | /*** file scope type declarations ****************************************************************/ |
62 | 62 | |
… |
… |
mcview_display_status (WView * view) |
174 | 174 | { |
175 | 175 | char buffer[BUF_TRUNC_LEN + 1]; |
176 | 176 | |
177 | | size_trunc_len (buffer, BUF_TRUNC_LEN, mcview_get_filesize (view), 0, |
| 177 | size_trunc_len (buffer, sizeof (buffer) - 1, mcview_get_filesize (view), 0, |
178 | 178 | panels_options.kilobyte_si); |
179 | 179 | tty_printf ("%9" PRIuMAX "/%s%s %s", (uintmax_t) view->dpy_end, |
180 | 180 | buffer, mcview_may_still_grow (view) ? "+" : " ", |