From e838f3552dd2a034d48a10523a50b0b7aab8db6d Mon Sep 17 00:00:00 2001 From: Pavel Sanda Date: Sun, 20 Jul 2008 22:08:32 +0000 Subject: [PATCH] Cosmetics. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25741 a592a061-630c-0410-9148-cb99ea01b6c8 --- src/VCBackend.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/VCBackend.cpp b/src/VCBackend.cpp index 89b7173e89..9e80f4ca27 100644 --- a/src/VCBackend.cpp +++ b/src/VCBackend.cpp @@ -217,20 +217,20 @@ FileName const CVS::findFile(FileName const & file) { // First we look for the CVS/Entries in the same dir // where we have file. - FileName const dir(onlyPath(file.absFilename()) + "/CVS/Entries"); + FileName const entries(onlyPath(file.absFilename()) + "/CVS/Entries"); string const tmpf = '/' + onlyFilename(file.absFilename()) + '/'; - LYXERR(Debug::LYXVC, "LyXVC: Checking in `" << dir + LYXERR(Debug::LYXVC, "LyXVC: Checking in `" << entries << "' for `" << tmpf << '\''); - if (dir.isReadableFile()) { + if (entries.isReadableFile()) { // Ok we are at least in a CVS dir. Parse the CVS/Entries // and see if we can find this file. We do a fast and // dirty parse here. - ifstream ifs(dir.toFilesystemEncoding().c_str()); + ifstream ifs(entries.toFilesystemEncoding().c_str()); string line; while (getline(ifs, line)) { LYXERR(Debug::LYXVC, "\tEntries: " << line); if (contains(line, tmpf)) - return dir; + return entries; } } return FileName(); -- 2.39.2