osd: adjust rbf long name scrolling.
This commit is contained in:
8
menu.cpp
8
menu.cpp
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user