mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-22 21:21:32 +00:00
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:
parent
ce363ba101
commit
6d79514cb0
@ -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.
|
||||
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user