]> git.lyx.org Git - lyx.git/blobdiff - src/LaTeX.cpp
Russian layouttranslations reviewed by Yuriy, Dec 13 2017.
[lyx.git] / src / LaTeX.cpp
index f692a2ab5bffc024f8fd9844173ea7bd355e7c43..79824217b81a2090b7c49b90932a968147097d6f 100644 (file)
@@ -416,10 +416,11 @@ int LaTeX::run(TeXErrors & terr)
        }
 
        // I am not pretty sure if need this twice.
+       // MSVC complains that bool |= int is unsafe. Not sure why.
        if (head.haschanged(nlofile))
-               rerun |= runMakeIndexNomencl(file, ".nlo", ".nls");
+               rerun |= (runMakeIndexNomencl(file, ".nlo", ".nls") != 0);
        if (head.haschanged(glofile))
-               rerun |= runMakeIndexNomencl(file, ".glo", ".gls");
+               rerun |= (runMakeIndexNomencl(file, ".glo", ".gls") != 0);
 
        // 5
        // we will only run latex more if the log file asks for it.