]> git.lyx.org Git - features.git/commitdiff
fix warning
authorAndré Pönitz <poenitz@gmx.net>
Wed, 17 Apr 2002 05:25:45 +0000 (05:25 +0000)
committerAndré Pönitz <poenitz@gmx.net>
Wed, 17 Apr 2002 05:25:45 +0000 (05:25 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4012 a592a061-630c-0410-9148-cb99ea01b6c8

src/mathed/formulamacro.C

index 1329f24a69b0c5dbe8ac5b8c8eb9ba1eb47cce60..5c1d85181e9bc6f468757347b532aeba0287a0be 100644 (file)
@@ -189,7 +189,7 @@ void InsetFormulaMacro::draw(BufferView * bv, LyXFont const & f,
        pain.text(x + 2, y, prefix(), font);
 
        // formula
-       par()->draw(pain, xx + lyxfont::width(prefix(), f) + 5, y);
+       par()->draw(pain, x + lyxfont::width(prefix(), f) + 5, y);
        xx += w + 2;
        xo_ = x;
        yo_ = y;