mirror of
https://git.lyx.org/repos/lyx.git
synced 2025-01-11 03:03:06 +00:00
prevent endless loop
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9155 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
8f7d6cae4e
commit
02e9655770
@ -1,3 +1,7 @@
|
||||
2004-11-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
|
||||
|
||||
* text2.C (setCounter): prevent endless loop
|
||||
|
||||
2004-11-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
|
||||
|
||||
* exporter.C (copyFile): use the mover instead of support::copy()
|
||||
|
@ -831,7 +831,7 @@ void LyXText::setCounter(Buffer const & buf, par_type pit)
|
||||
#if 0
|
||||
/* I think this code is supposed to be useful when one has a caption
|
||||
* in a minipage in a figure inset. We need to go up to be able to see
|
||||
* that the caption sould use "Figure" as label
|
||||
* that the caption should use "Figure" as label
|
||||
*/
|
||||
else {
|
||||
Paragraph const * owner = &ownerPar(buf, in);
|
||||
@ -840,6 +840,8 @@ void LyXText::setCounter(Buffer const & buf, par_type pit)
|
||||
if (&pars_[tmppit] == owner)
|
||||
break;
|
||||
}
|
||||
#else
|
||||
++tmppit;
|
||||
#endif
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user