Skip to content

Commit 469cf0b

Browse files
authored
Fix error in previous commit (#1450)
1 parent 17b1983 commit 469cf0b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/logger.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -195,8 +195,8 @@ void Logger::RemoveOldDirectories(const wxString& filePattern, int DaysOld)
195195
wxString rslt = subdir.Mid(start + 13);
196196
if (rslt < oldestDateStr)
197197
dirTargets.Add(subdir);
198-
more = dir.GetNext(&subdir);
199198
}
199+
more = dir.GetNext(&subdir);
200200
}
201201
dir.Close();
202202
for (unsigned int i = 0; i < dirTargets.GetCount(); i++)

0 commit comments

Comments
 (0)