]> git.lyx.org Git - features.git/blobdiff - src/mathed/math_fracinset.C
fix macro, small cleanup
[features.git] / src / mathed / math_fracinset.C
index 4ea4fb92781a855c432309fa8818c4a99e603048..f38b009f905eb121b3c0efa6ff5e1f0db768c2b2 100644 (file)
@@ -1,5 +1,9 @@
 #include <config.h>
 
+#ifdef __GNUG__
+#pragma implementation
+#endif
+
 #include "math_fracinset.h"
 #include "math_iter.h"
 #include "LColor.h"
@@ -96,7 +100,7 @@ MathedArray & MathFracInset::GetData()
 
 bool MathFracInset::Inside(int x, int y) 
 {
-       int xx = xo() - (width - w0_) / 2;
+       int const xx = xo() - (width - w0_) / 2;
        
        return x >= xx
                && x <= xx + width