aboutsummaryrefslogtreecommitdiff
path: root/src/shape.c
diff options
context:
space:
mode:
authorThomas White <taw@bitwiz.org.uk>2014-06-30 23:53:25 +0200
committerThomas White <taw@bitwiz.org.uk>2014-06-30 23:53:25 +0200
commitf6f225c85e8c252623af5f0a5fb1460707c8fc4b (patch)
tree5fdc8b11a2890173b99d2cafb9cc3eb6484ee85a /src/shape.c
parent6ed61af726fb99384fb2d62e868489c1ccab6650 (diff)
Mostly fix cursor stuff
Diffstat (limited to 'src/shape.c')
-rw-r--r--src/shape.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/shape.c b/src/shape.c
index 8ae41ec..97178a1 100644
--- a/src/shape.c
+++ b/src/shape.c
@@ -209,6 +209,8 @@ int split_words(struct wrap_line *boxes, PangoContext *pc, SCBlock *bl,
}
}
+
+ /* Add the stuff left over at the end */
if ( i > start ) {
size_t l = strlen(text+start);
@@ -219,9 +221,6 @@ int split_words(struct wrap_line *boxes, PangoContext *pc, SCBlock *bl,
add_wrap_boxes(boxes, text,
WRAP_SPACE_EOP, pc, scin, bl, start,
l-1, editable);
- //add_wrap_boxes(boxes, "",
- // WRAP_SPACE_NONE, pc, scin, bl, start+l,
- // 1, editable);
} else {