Typo and style.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33717 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Vincent van Ravesteijn 2010-03-11 19:40:11 +00:00
parent cabde10fa3
commit ab76cb0bc9
3 changed files with 4 additions and 3 deletions

View File

@ -182,7 +182,8 @@ string LyXVC::checkIn()
string LyXVC::checkOut() string LyXVC::checkOut()
{ {
//RCS allows checkOut only in ReadOnly mode //RCS allows checkOut only in ReadOnly mode
if (vcs->toggleReadOnlyEnabled() && !owner_->isReadonly()) return string(); if (vcs->toggleReadOnlyEnabled() && !owner_->isReadonly())
return string();
LYXERR(Debug::LYXVC, "LyXVC: checkOut"); LYXERR(Debug::LYXVC, "LyXVC: checkOut");
return vcs->checkOut(); return vcs->checkOut();

View File

@ -412,7 +412,7 @@ void CVS::scanMaster()
locker_ = "Unlocked"; locker_ = "Unlocked";
vcstatus = UNLOCKED; vcstatus = UNLOCKED;
} else { } else {
// Here we should also to some more checking // Here we should also do some more checking
// to see if there are conflicts or not. // to see if there are conflicts or not.
locker_ = "Locked"; locker_ = "Locked";
vcstatus = LOCKED; vcstatus = LOCKED;