Fix directory listing.

This commit is contained in:
sorgelig
2020-05-18 18:39:19 +08:00
parent a3be9b78dd
commit 5d5bc45ca3

View File

@@ -5300,7 +5300,7 @@ void PrintDirectory(int expand)
leftchar = 0;
int len = 0;
if (i < flist_nDirEntries())
if (k < flist_nDirEntries())
{
len = strlen(flist_DirItem(k)->altname); // get name length
if (len > 28)