small patch from jamatos

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@653 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Lars Gullik Bjønnes 2000-04-12 16:32:10 +00:00
parent ce363ba101
commit 6d79514cb0
2 changed files with 4 additions and 1 deletions

View File

@ -1,5 +1,8 @@
2000-04-12 Lars Gullik Bjønnes <larsbj@lyx.org>
* src/insets/figinset.C (DocBook): small patch from Jose (jamatos)
sent directly to me.
* src/text2.C (DeleteEmptyParagraphMechanism): small patch posted
to the list by Dekel.

View File

@ -1164,7 +1164,7 @@ int InsetFig::DocBook(ostream & os) const
string figurename = fname;
if(suffixIs(figurename, ".eps"))
figurename.erase(fname.length() - 5);
figurename.erase(fname.length() - 4);
os << "@<graphic fileref=\"" << figurename << "\"></graphic>";
return 0;