]> git.lyx.org Git - features.git/commitdiff
compilation fix
authorJean-Marc Lasgouttes <lasgouttes@lyx.org>
Thu, 13 Jun 2002 10:11:32 +0000 (10:11 +0000)
committerJean-Marc Lasgouttes <lasgouttes@lyx.org>
Thu, 13 Jun 2002 10:11:32 +0000 (10:11 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4389 a592a061-630c-0410-9148-cb99ea01b6c8

src/insets/ChangeLog
src/insets/insetquotes.C

index 22a5eafd1e2361000cfac3b1c2c3d7127ce6e79b..90055a06ab690dc8296f67eaf5b958a1ed50cb77 100644 (file)
@@ -1,3 +1,7 @@
+2002-06-13  Edwin Leuven  <leuven@fee.uva.nl>
+
+       * insetquotes.C: change lyxfont::draw to font_metrics::draw
+       
 2002-06-12  Vitaly Lipatov  <LAV@VL3143.spb.edu>
 
        * insetquotes.C (draw): fix drawing of double quotes
index fef7fa9ff10aa6c07546b0779988bb9d84b9aad9..051b12a7916de846449b031f194102097f6c27ef 100644 (file)
@@ -234,7 +234,7 @@ void InsetQuotes::draw(BufferView * bv, LyXFont const & font,
 
        if (text.length() == 2 && text[0] == text[1]) {
                bv->painter().text(int(x), baseline, text[0], font);
-               int x2 = int(x + lyxfont::width(',', font));
+               int x2 = int(x + font_metrics::width(',', font));
                bv->painter().text(x2, baseline, text[0], font);
        } else
                bv->painter().text(int(x), baseline, text, font);