]> git.lyx.org Git - lyx.git/blobdiff - src/graphics/GraphicsParams.cpp
Fix bug #9319: Problems with space inside math and textrm.
[lyx.git] / src / graphics / GraphicsParams.cpp
index 0b2fbb2c1457a0acff2cdcd519c9e6ed889eb3ba..c1c32a0aba2fe41d1a7d759d4427abbd076eac4b 100644 (file)
@@ -23,10 +23,10 @@ namespace lyx {
 namespace graphics {
 
 Params::Params()
-       : display(ColorDisplay),
+       : display(true),
          scale(100),
-         angle(0),
-         icon("")
+         pixel_ratio(1.0),
+         angle(0)
 {}
 
 
@@ -36,8 +36,8 @@ bool operator==(Params const & a, Params const & b)
                a.display == b.display &&
                a.bb == b.bb &&
                a.scale == b.scale &&
-               a.angle == b.angle &&
-               a.icon == b.icon);
+               a.pixel_ratio == b.pixel_ratio &&
+               a.angle == b.angle);
 }