]> git.lyx.org Git - lyx.git/blobdiff - src/bufferview_funcs.C
src/frontends/qt4/GuiWorkArea.C:
[lyx.git] / src / bufferview_funcs.C
index 40210a018b59cb80eda917f74af0b0b9318b4400..474f4301a2d7eb9534dd0fc7d5f4bc409fa239f6 100644 (file)
@@ -195,9 +195,9 @@ Point coordOffset(BufferView const & bv, DocIterator const & dit,
                y += par.rows()[rit].height();
        y += par.rows()[rend].ascent();
        x += dit.bottom().text()->cursorX(dit.bottom(), boundary && dit.depth() == 1);
-       // The following correction should not be there at all.
-       // The cursor looks much better with the -1, though.
-       --x;
+       // FIXME: The following correction should not be there at all.
+       // The cursor looks much better with the +1, though.
+       ++x;
        return Point(x, y);
 }