]> git.lyx.org Git - lyx.git/blobdiff - src/lyxvc.C
The speed patch: redraw only rows that have changed
[lyx.git] / src / lyxvc.C
index 21c934f102ea9ccb80b153ec6980722a9f56ede0..039e4554356281cec5228e9dcd7a97f6502f6721 100644 (file)
@@ -223,6 +223,11 @@ string const LyXVC::getLogFile() const
                return string();
 
        string tmpf = tempName(string(), "lyxvclog");
+       if (tmpf.empty()) {
+               lyxerr[Debug::LYXVC] << "Could not generate logfile "
+                                    << tmpf << endl;
+               return string();
+       }
        lyxerr[Debug::LYXVC] << "Generating logfile " << tmpf << endl;
        vcs->getLog(tmpf);
        return tmpf;