menu: fix directrory scroll.

This commit is contained in:
Sorgelig
2022-05-10 05:35:09 +08:00
parent 8f80dbab77
commit b1c915bd96

View File

@@ -6676,7 +6676,7 @@ void ScrollLongName(void)
max_len = 30; // number of file name characters to display (one more required for scrolling)
if (flist_SelectedItem()->de.d_type == DT_DIR)
{
max_len = 24; // number of directory name characters to display
max_len = 23; // number of directory name characters to display
}
if (flist_SelectedItem()->de.d_type != DT_DIR) // if a file