diff options
Diffstat (limited to 'src/shape.c')
-rw-r--r-- | src/shape.c | 5 |
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 { |