Compare commits

...
2 Commits
+1 -1
View File
@@ -503,7 +503,7 @@ namespace Baseline
string[] fileList = Directory.GetFiles(fi.DirectoryName, patern); string[] fileList = Directory.GetFiles(fi.DirectoryName, patern);
// sort the list of file list // sort the list of file list
Array.Sort((string[])fileList); Array.Sort((string[])fileList);
return fileList.First(); // the PDF file that we what should be top of the list then. return fileList.FirstOrDefault(); // the PDF file that we what should be top of the list then.
} }
/// <summary> /// <summary>