]> git.lyx.org Git - features.git/commitdiff
Text3.cpp: fix unintended fall-throughs.
authorVincent van Ravesteijn <vfr@lyx.org>
Thu, 29 Oct 2009 22:08:05 +0000 (22:08 +0000)
committerVincent van Ravesteijn <vfr@lyx.org>
Thu, 29 Oct 2009 22:08:05 +0000 (22:08 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31793 a592a061-630c-0410-9148-cb99ea01b6c8

src/Text3.cpp

index 281ef7005818b1544984007bcc0ecc77ae77f51e..eef781534ccae4712ae98f103d82d33f089d7c5c 100644 (file)
@@ -2563,9 +2563,11 @@ bool Text::getStatus(Cursor & cur, FuncRequest const & cmd,
 
        case LFUN_LANGUAGE:
                enable = !cur.inset().getLayout().isPassThru();
+               break;
 
        case LFUN_BREAK_PARAGRAPH:
                enable = cur.inset().getLayout().isMultiPar();
+               break;
 
        case LFUN_WORD_DELETE_FORWARD:
        case LFUN_WORD_DELETE_BACKWARD: