]> git.lyx.org Git - features.git/commitdiff
* compile fix for vc++
authorStefan Schimanski <sts@lyx.org>
Sun, 16 Nov 2008 19:25:22 +0000 (19:25 +0000)
committerStefan Schimanski <sts@lyx.org>
Sun, 16 Nov 2008 19:25:22 +0000 (19:25 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27578 a592a061-630c-0410-9148-cb99ea01b6c8

src/BufferView.cpp

index 9af4bb71f0c737edd87f36bcfbc02dcc2e4e26c8..c6d89d0691a766df38cc2488f8966d17c82e1219 100644 (file)
@@ -897,13 +897,14 @@ FuncStatus BufferView::getStatus(FuncRequest const & cmd)
                flag.setEnabled(! this->cursor().inRegexped());
                break;
 
-       case LFUN_COPY_LABEL_AS_REF:
+       case LFUN_COPY_LABEL_AS_REF: {
                // if there is an inset at cursor, see whether it
                // handles the lfun, other start from scratch
                Inset * inset = cur.nextInset();
                if (!inset || !inset->getStatus(cur, cmd, flag))
                        flag = lyx::getStatus(cmd);
                break;
+       }
 
        case LFUN_NEXT_INSET_TOGGLE: 
        case LFUN_NEXT_INSET_MODIFY: {