mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-05 13:26:21 +00:00
do not add ellipsis to closed inset label unless necessary
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7489 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
557a50555c
commit
49dead313f
@ -1,3 +1,8 @@
|
||||
2003-08-03 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
|
||||
|
||||
* insetert.C (get_new_label): only add ... to the (closed) label
|
||||
when the string has been shortened
|
||||
|
||||
2003-08-02 Lars Gullik Bjønnes <larsbj@lyx.org>
|
||||
|
||||
* Always use std::endl with lyxerr
|
||||
|
@ -516,7 +516,7 @@ string const InsetERT::get_new_label() const
|
||||
la += inset.paragraphs.begin()->getChar(j);
|
||||
++i;
|
||||
}
|
||||
if (p_siz > 1 || (i > 0 && j < p_siz)) {
|
||||
if (inset.paragraphs.size() > 1 || (i > 0 && j < p_siz)) {
|
||||
la += "...";
|
||||
}
|
||||
if (la.empty()) {
|
||||
|
Loading…
Reference in New Issue
Block a user