aboutsummaryrefslogtreecommitdiff
path: root/src/render.c
diff options
context:
space:
mode:
authorThomas White <taw@bitwiz.org.uk>2013-03-04 23:42:23 +0100
committerThomas White <taw@bitwiz.org.uk>2013-03-04 23:42:23 +0100
commitb447e47da5e2bb6c0450506af9491741cc6f3340 (patch)
treeaa20865188de576cc93aba6e16889d13d3b86de8 /src/render.c
parent634c9ad083b1c8f54db6bbeb99bf7026464afef7 (diff)
Wrapping stuff
Diffstat (limited to 'src/render.c')
-rw-r--r--src/render.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/render.c b/src/render.c
index 124c3f4..ed72fe0 100644
--- a/src/render.c
+++ b/src/render.c
@@ -86,6 +86,10 @@ static void render_boxes(struct wrap_line *line, cairo_t *cr)
/* FIXME ! */
break;
+ case WRAP_BOX_NOTHING :
+ /* Do nothing */
+ break;
+
}
x_pos += pango_units_to_double(line->boxes[j].width);
@@ -140,6 +144,9 @@ static void free_line_bits(struct wrap_line *l)
case WRAP_BOX_IMAGE :
break;
+ case WRAP_BOX_NOTHING :
+ break;
+
}
}