]> git.lyx.org Git - lyx.git/blobdiff - src/Chktex.C
fix typo that put too many include paths for most people
[lyx.git] / src / Chktex.C
index 1193c7590a72eb39c9ba92f13ef25b3dd2c75a4b..ac08ba8879172a190d4f1fdf97bc7b5747f7e03d 100644 (file)
@@ -1,14 +1,14 @@
 /* This file is part of
- * ====================================================== 
- * 
- *           LyX, The Document Processor        
+ * ======================================================
+ *
+ *           LyX, The Document Processor
  *          Copyright 1995 Matthias Ettrich
  *           Copyright 1995-2001 The LyX Team.
  *
  *           This file is Copyright 1997-1998
  *           Asger Alstrup
  *
- * ====================================================== 
+ * ======================================================
  */
 
 #include <config.h>
@@ -25,8 +25,7 @@
 
 #include "support/FileInfo.h"
 #include "support/filetools.h"
-#include "support/syscall.h"
-#include "support/syscontr.h"
+#include "support/systemcall.h"
 #include "support/path.h"
 #include "support/lstrings.h"
 
@@ -50,8 +49,8 @@ int Chktex::run(TeXErrors &terr)
        // run bibtex
        string log = OnlyFilename(ChangeExtension(file, ".log"));
        string tmp = cmd + " -q -v0 -b0 -x " + file + " -o " + log;
-        Systemcalls one;
-       int result= one.startscript(Systemcalls::System, tmp);
+       Systemcall one;
+       int result= one.startscript(Systemcall::Wait, tmp);
        if (result == 0) {
                result = scanLogFile(terr);
        } else {