summaryrefslogtreecommitdiff
path: root/pango/break.c
diff options
context:
space:
mode:
Diffstat (limited to 'pango/break.c')
-rw-r--r--pango/break.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/pango/break.c b/pango/break.c
index abdf45bc..5f3c339a 100644
--- a/pango/break.c
+++ b/pango/break.c
@@ -1747,7 +1747,7 @@ pango_find_paragraph_boundary (const gchar *text,
prev_sep = 0;
- while (p != end)
+ while (p < end)
{
if (prev_sep == '\n' ||
prev_sep == PARAGRAPH_SEPARATOR_STRING[0])