* BufferView.cpp: style.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31181 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Vincent van Ravesteijn 2009-08-21 20:09:15 +00:00
parent 1c2d2f8fa4
commit e042119cbe

View File

@ -942,7 +942,7 @@ bool BufferView::getStatus(FuncRequest const & cmd, FuncStatus & flag)
case LFUN_REGEXP_MODE: {
bool const embedded_workarea = buffer().isUnnamed()
&& buffer().fileName().extension() == "internal";
flag.setEnabled(embedded_workarea && ! this->cursor().inRegexped());
flag.setEnabled(embedded_workarea && !cur.inRegexped());
break;
}