mirror of
https://github.com/MidnightCommander/mc
synced 2024-12-23 04:46:55 +03:00
replace name_trunc to str_trunc
This commit is contained in:
parent
b0729f75fb
commit
5be16e2a0b
@ -137,7 +137,7 @@ edit_status (WEdit *edit)
|
||||
fname_len = preferred_fname_len;
|
||||
else
|
||||
fname_len = w - (gap + status_len + right_gap);
|
||||
fname = name_trunc (fname, fname_len);
|
||||
fname = str_trunc (fname, fname_len);
|
||||
}
|
||||
|
||||
widget_move (edit, 0, 0);
|
||||
|
Loading…
Reference in New Issue
Block a user