mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-23 05:25:26 +00:00
Helge's infamous brackets bug
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10768 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
2fc3845c4e
commit
e2cd4d4c44
@ -1,3 +1,8 @@
|
|||||||
|
2006-01-23 Helge Hafting <helge.hafting@aitel.hist.no>
|
||||||
|
* buffer_funcs.C: Trivial fix - added {} around
|
||||||
|
the statements to be affected by a if-test. Now
|
||||||
|
label in a minipage in a float looks ok on screen again.
|
||||||
|
|
||||||
2006-01-23 Martin Vermeer <martin.vermeer@hut.fi>
|
2006-01-23 Martin Vermeer <martin.vermeer@hut.fi>
|
||||||
|
|
||||||
* text2.C: fix bug 2015: on screen fonts in nested environments
|
* text2.C: fix bug 2015: on screen fonts in nested environments
|
||||||
|
@ -476,10 +476,11 @@ void setCounter(Buffer const & buf, ParIterator & it)
|
|||||||
--i;
|
--i;
|
||||||
InsetBase * const in = &it[i].inset();
|
InsetBase * const in = &it[i].inset();
|
||||||
if (in->lyxCode() == InsetBase::FLOAT_CODE
|
if (in->lyxCode() == InsetBase::FLOAT_CODE
|
||||||
|| in->lyxCode() == InsetBase::WRAP_CODE)
|
|| in->lyxCode() == InsetBase::WRAP_CODE) {
|
||||||
type = in->getInsetName();
|
type = in->getInsetName();
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
string s;
|
string s;
|
||||||
if (!type.empty()) {
|
if (!type.empty()) {
|
||||||
|
Loading…
Reference in New Issue
Block a user