commit 8eb736b23b7ddfd8436a05a875611120e03e6ca2
Author: Jean-Marc Lasgouttes <[email protected]>
Date:   Thu Dec 14 16:03:30 2017 +0100

    Remove duplicate variable
    
    Fixes bug #10922
---
 src/RowPainter.cpp |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)

diff --git a/src/RowPainter.cpp b/src/RowPainter.cpp
index 85f450e..6fbc783 100644
--- a/src/RowPainter.cpp
+++ b/src/RowPainter.cpp
@@ -196,7 +196,6 @@ void RowPainter::paintMisspelledMark(Row::Element const & 
e) const
                        continue;
                }
 
-               FontMetrics const & fm = theFontMetrics(e.font);
                int x1 = fm.pos2x(e.str, range.first - e.pos,
                                  e.isRTL(), e.extra);
                int x2 = fm.pos2x(e.str, min(range.last - e.pos + 1,

Reply via email to