diff options
Diffstat (limited to 'examples/parshape.c')
-rw-r--r-- | examples/parshape.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/parshape.c b/examples/parshape.c index 219cc378..3c79b9be 100644 --- a/examples/parshape.c +++ b/examples/parshape.c @@ -55,7 +55,7 @@ main (int argc, char *argv[]) x = (m - w / 2) * PANGO_SCALE; width = w * PANGO_SCALE; - while (!pango_line_breaker_done (breaker)) + while (pango_line_breaker_has_line (breaker)) { PangoLayoutLine *line; PangoRectangle ext; |