osd: adjust rbf long name scrolling.

This commit is contained in:
sorgelig
2019-12-30 21:30:45 +08:00
parent 64f75d3d57
commit 75a3621d8e

View File

@@ -4879,7 +4879,7 @@ void ScrollLongName(void)
{
len -= 9;
}
max_len = 21; // __.__.__ remove that from the end
max_len = 20; // __.__.__ remove that from the end
}
//printf("ScrollLongName: len %d max_len %d [%s]\n",len,max_len,flist_SelectedItem()->altname);
@@ -5013,6 +5013,12 @@ void PrintDirectory(void)
{
strcpy(&s[19], " --.--.--");
}
if (len >= 19)
{
s[19] = 22;
s[28] = ' ';
}
}
if (!i && k) leftchar = 17;