]> git.lyx.org Git - lyx.git/blobdiff - src/lastfiles.C
Michael's latest batch of new gnome files.
[lyx.git] / src / lastfiles.C
index 5076e40a7f78259442de1dada48bad9be011a995..a3b72d408fd87d44ebfd2e2b20418a6bac4ca31c 100644 (file)
 #pragma implementation
 #endif
 
-#include <fstream>
-#include <algorithm>
-
-#include "support/FileInfo.h"
 #include "lastfiles.h"
 #include "debug.h"
 
+#include "support/FileInfo.h"
+
+#include <fstream>
+#include <algorithm>
+#include <iterator>
+
 using std::getline;
 using std::endl;
 
@@ -55,7 +57,7 @@ void LastFiles::readFile(string const & filename)
        string tmp;
        FileInfo fileInfo;
 
-       while(getline(ifs, tmp) && files.size() < num_files) {
+       while (getline(ifs, tmp) && files.size() < num_files) {
                if (dostat) {
                        if (!(fileInfo.newFile(tmp).exist() &&
                              fileInfo.isRegular()))