mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-10 20:04:46 +00:00
bug 656 - 1.3. patch attached to bug
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6605 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
09db5cbcc0
commit
4f92fc4027
@ -1,3 +1,8 @@
|
|||||||
|
2003-03-28 John Levon <levon@movementarian.org>
|
||||||
|
|
||||||
|
* insetgraphicsParams.C: read subcaptionText as a whole line
|
||||||
|
(bug 656)
|
||||||
|
|
||||||
2003-03-28 John Levon <levon@movementarian.org>
|
2003-03-28 John Levon <levon@movementarian.org>
|
||||||
|
|
||||||
* insettext.C: remove unused prototypes
|
* insettext.C: remove unused prototypes
|
||||||
|
@ -222,8 +222,10 @@ bool InsetGraphicsParams::Read(LyXLex & lex, string const & token)
|
|||||||
} else if (token == "subcaption") {
|
} else if (token == "subcaption") {
|
||||||
subcaption = true;
|
subcaption = true;
|
||||||
} else if (token == "subcaptionText") {
|
} else if (token == "subcaptionText") {
|
||||||
lex.next();
|
lex.eatLine();
|
||||||
subcaptionText = lex.getString();
|
string sub = lex.getString();
|
||||||
|
// strip surrounding " "
|
||||||
|
subcaptionText = sub.substr(1, sub.length() - 2);
|
||||||
} else if (token == "special") {
|
} else if (token == "special") {
|
||||||
lex.eatLine();
|
lex.eatLine();
|
||||||
special = lex.getString();
|
special = lex.getString();
|
||||||
|
Loading…
Reference in New Issue
Block a user