]> git.lyx.org Git - lyx.git/blobdiff - src/support/os.cpp
Use more informative descriptions fro Springer layouts
[lyx.git] / src / support / os.cpp
index 8afb96ce40739ae9c6f4eb114bec3a01bff72500..8eea49370ae7d125bfe033d44cbae497086c89af 100644 (file)
@@ -11,9 +11,9 @@
 
 #include <config.h>
 
-#include "debug.h"
-#include "filetools.h"
-#include "qstring_helpers.h"
+#include "support/debug.h"
+#include "support/filetools.h"
+#include "support/qstring_helpers.h"
 
 #include <QDir>
 
@@ -30,7 +30,7 @@
 // e.g., the author hash is always 32-bit.
 template<bool Condition> struct static_assert_helper;
 template <> struct static_assert_helper<true> {};
-enum { 
+enum {
        dummy = sizeof(static_assert_helper<sizeof(int) == 4>)
 };
 
@@ -64,9 +64,9 @@ int timeout_min()
 
 string const python(bool reset)
 {
-       // FIXME THREAD
        // Check whether the first python in PATH is the right one.
        static string command = python23("python -tt");
+       // FIXME THREAD
        if (reset) {
                command = python23("python -tt");
        }
@@ -77,7 +77,7 @@ string const python(bool reset)
                vector<string> const path = getEnvPath("PATH");
                vector<string>::const_iterator it = path.begin();
                vector<string>::const_iterator const end = path.end();
-               lyxerr << "Looking for python v2.x ...\n";
+               lyxerr << "Looking for python v2.x or 3.x ...\n";
                for (; it != end; ++it) {
                        QString const dir = toqstr(*it);
                        string const localdir = dir.toLocal8Bit().constData();
@@ -104,6 +104,6 @@ string const python(bool reset)
        return command;
 }
 
-}
-}
-}
+} // namespace os
+} // namespace support
+} // namespace lyx