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:
John Levon 2003-03-28 03:54:39 +00:00
parent 09db5cbcc0
commit 4f92fc4027
2 changed files with 9 additions and 2 deletions

View File

@ -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

View File

@ -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();