display 2 lines for long files.
This commit is contained in:
@@ -1571,7 +1571,7 @@ int ScanDirectory(char* path, int mode, const char *extension, int options, cons
|
||||
}
|
||||
else if (mode == SCANF_NEXT_PAGE)
|
||||
{
|
||||
if (iSelectedEntry < iFirstEntry + OsdGetSize() - 1)
|
||||
if (iSelectedEntry < iFirstEntry + OsdGetSize() - 2)
|
||||
{
|
||||
iSelectedEntry = iFirstEntry + OsdGetSize() - 1;
|
||||
if (iSelectedEntry >= flist_nDirEntries()) iSelectedEntry = flist_nDirEntries() - 1;
|
||||
@@ -1672,6 +1672,11 @@ int flist_iFirstEntry()
|
||||
return iFirstEntry;
|
||||
}
|
||||
|
||||
void flist_iFirstEntryInc()
|
||||
{
|
||||
iFirstEntry++;
|
||||
}
|
||||
|
||||
int flist_iSelectedEntry()
|
||||
{
|
||||
return iSelectedEntry;
|
||||
|
||||
Reference in New Issue
Block a user