]> git.lyx.org Git - features.git/blobdiff - src/support/debug.cpp
Fix compilation with MSVC 19.
[features.git] / src / support / debug.cpp
index e72a43dbd1c83acf0683d93150780c2bff9b7bb1..6ec52a069c9587148a0f1b430d1748b0cd2e8cf3 100644 (file)
@@ -12,8 +12,9 @@
 
 #include <config.h>
 
-#include "support/convert.h"
 #include "support/debug.h"
+
+#include "support/convert.h"
 #include "support/FileName.h"
 #include "support/gettext.h"
 #include "support/lstrings.h"
@@ -134,7 +135,7 @@ Debug::Type Debug::value(string const & val)
                                break;
                        }
                if (st == string::npos)
-               break;
+               break;
                v.erase(0, st + 1);
        }
        return l;
@@ -200,7 +201,7 @@ void LyXErr::endl()
 char const * LyXErr::stripName(char const * n)
 {
        string const name = n;
-       // find the last occurence of /src/ in name
+       // find the last occurrence of /src/ in name
        size_t pos = name.rfind("/src/");
        if (pos == string::npos)
                pos = name.rfind("\\src\\");