]> git.lyx.org Git - features.git/commitdiff
small patch from jamatos
authorLars Gullik Bjønnes <larsbj@gullik.org>
Wed, 12 Apr 2000 16:32:10 +0000 (16:32 +0000)
committerLars Gullik Bjønnes <larsbj@gullik.org>
Wed, 12 Apr 2000 16:32:10 +0000 (16:32 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@653 a592a061-630c-0410-9148-cb99ea01b6c8

ChangeLog
src/insets/figinset.C

index 26265255f0f2f42837d7deff3c2f521a0f9c5b39..5cb58b08a35457960ddde36389fe0bbe1256f68a 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -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.
 
index 454d9d54632730726b2846ffd0f72f9d151586ef..13d73c6004c8199484f8ecd4c0649cb7a2e6b125 100644 (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;