From: Stephan Witt Date: Mon, 12 Oct 2015 06:00:24 +0000 (+0200) Subject: Correct early return position for if use_pixmap_cache_ check X-Git-Tag: 2.2.0alpha1~235 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=b6b263b9fc4cd70849c60de9f8849c346b3c12ab;p=features.git Correct early return position for if use_pixmap_cache_ check --- diff --git a/src/frontends/qt4/GuiPainter.cpp b/src/frontends/qt4/GuiPainter.cpp index 2ecd3acd66..b2ccbfc41c 100644 --- a/src/frontends/qt4/GuiPainter.cpp +++ b/src/frontends/qt4/GuiPainter.cpp @@ -377,9 +377,8 @@ int GuiPainter::text(int x, int y, docstring const & s, // Draw the new cached pixmap. drawPixmap(x + lb, y - mA, pm); - - return textwidth; } + return textwidth; } // don't use the pixmap cache,