mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-05 13:26:21 +00:00
small fix I forgot
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5080 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
11953d3734
commit
114b7519fd
@ -1,3 +1,7 @@
|
||||
2002-08-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
|
||||
|
||||
* lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
|
||||
|
||||
2002-08-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
|
||||
|
||||
* lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
|
||||
|
@ -249,8 +249,10 @@ bool LyXLayout::Read (LyXLex & lexrc, LyXTextClass const & tclass)
|
||||
break;
|
||||
|
||||
case LT_OPTARGS:
|
||||
optionalargs = lexrc.next() && lexrc.getInteger();
|
||||
break;
|
||||
if (lexrc.next()) {
|
||||
optionalargs = lexrc.getInteger();
|
||||
}
|
||||
break;
|
||||
|
||||
case LT_NEED_PROTECT:
|
||||
needprotect = lexrc.next() && lexrc.getInteger();
|
||||
|
Loading…
Reference in New Issue
Block a user