refactored recent file list logic, supporting 10 records now .

This commit is contained in:
Zero Fanker 2024-05-31 15:24:48 -04:00
parent 89bce98a13
commit 893427625d
5 changed files with 54 additions and 72 deletions

View file

@ -324,7 +324,7 @@ BOOL CFinalSunApp::InitInstance()
// MW 07/20/01: Load file list
int i;
for (i = 0; i < 4; i++) {
for (i = 0; i < RecentFilesSlots; i++) {
char c[50];
itoa(i, c, 10);
opts.prev_maps[i] = optini.GetString("Files", c);