From 20696ecb7ee335dedcc8a1b0d24e4cc56736d81f Mon Sep 17 00:00:00 2001 From: Jean-Marc Lasgouttes Date: Mon, 10 Apr 2017 11:21:29 +0200 Subject: [PATCH] Try to preserve small details from eb4a2a19 Part of ticket #10569 --- src/Row.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Row.cpp b/src/Row.cpp index 3557957a77..8d89f64e1c 100644 --- a/src/Row.cpp +++ b/src/Row.cpp @@ -115,7 +115,7 @@ pos_type Row::Element::x2pos(int &x) const case SPACE: // those elements contain only one position. Round to // the closest side. - if (x > full_width() / 2) { + if (x > (full_width() + 1) / 2) { x = int(full_width()); i = !isRTL(); } else { -- 2.39.2