]> git.lyx.org Git - lyx.git/blobdiff - src/Length.cpp
Probably fix #10850 compiler warnings.
[lyx.git] / src / Length.cpp
index bc8fb7ea550b0453d630cdafa26361ebfc5ccd73..42188d8929e444387efbaec46668283ee49fbad7 100644 (file)
@@ -202,7 +202,7 @@ bool Length::empty() const
 int Length::inPixels(int text_width, int em_width_base) const
 {
        // Zoom factor specified by user in percent
-       double const zoom = lyxrc.zoom / 100.0; // [percent]
+       double const zoom = lyxrc.currentZoom / 100.0; // [percent]
 
        // DPI setting for monitor: pixels/inch
        double const dpi = lyxrc.dpi; // screen resolution [pixels/inch]