commit 0dceac6288ce1c045026a6cd4fa88592374f3e5b
Author: Richard Heck <[email protected]>
Date:   Tue Jul 26 13:33:41 2016 -0400

    orig_x can and so prsumably should be a double.
---
 src/RowPainter.cpp |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/RowPainter.cpp b/src/RowPainter.cpp
index fdd7924..ae7ed4d 100644
--- a/src/RowPainter.cpp
+++ b/src/RowPainter.cpp
@@ -587,7 +587,7 @@ void RowPainter::paintOnlyInsets()
                                x_ += e.full_width();
                                continue;
                        }
-                       int orig_x = x_;
+                       double orig_x = x_;
                        paintInset(e.inset, e.font, e.change, e.pos);
                        // The line that indicates word in a different language
                        paintForeignMark(orig_x, e.font.language(), 
e.dim.descent());

Reply via email to