]> git.lyx.org Git - lyx.git/blobdiff - src/lastfiles.C
fix typo that put too many include paths for most people
[lyx.git] / src / lastfiles.C
index d53206221975b11dcc12033aadf5c5eb1f449669..615b9de7ee35c8e52338e9dd516aca4369f6526d 100644 (file)
@@ -1,10 +1,10 @@
 /* This file is part of
- * ====================================================== 
- * 
+ * ======================================================
+ *
  *           LyX, The Document Processor
- *      
+ *
  *           Copyright 1995 Matthias Ettrich
- *           Copyright 1995-2000 The LyX Team.
+ *           Copyright 1995-2001 The LyX Team.
  *
  * ====================================================== */
 
 #pragma implementation
 #endif
 
+#include "lastfiles.h"
+#include "debug.h"
+
+#include "support/FileInfo.h"
+
 #include <fstream>
 #include <algorithm>
+#include <iterator>
 
-#include "support/FileInfo.h"
-#include "lastfiles.h"
-#include "debug.h"
 
 using std::ifstream;
-using std::getline;
 using std::ofstream;
+using std::getline;
+using std::endl;
+using std::find;
 using std::copy;
 using std::ostream_iterator;
-using std::find;
-using std::endl;
+
 
 LastFiles::LastFiles(string const & filename, bool st, unsigned int num)
        : dostat(st)
@@ -59,7 +63,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()))