Fix recent files

This commit is contained in:
Nico Mexis 2021-06-28 11:36:37 +02:00
parent 152957c128
commit 8b97fbffc8
No known key found for this signature in database
GPG key ID: 27D6E17CE092AB78

View file

@ -220,9 +220,9 @@ public class MiscUtils
list.clear(); list.clear();
list.addAll(temporaryList); list.addAll(temporaryList);
while(temporaryList.size() > maxLength) while(list.size() > maxLength)
list.remove(0); list.remove(list.size() - 1);
} }
public static boolean isPureAscii(String v) { public static boolean isPureAscii(String v) {