summaryrefslogtreecommitdiff
path: root/src/composite.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/composite.c')
-rw-r--r--src/composite.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/composite.c b/src/composite.c
index 1596e996d6c..2dee42b5503 100644
--- a/src/composite.c
+++ b/src/composite.c
@@ -1592,7 +1592,7 @@ find_automatic_composition (ptrdiff_t pos, ptrdiff_t limit, ptrdiff_t backlim,
if (backlim < 0)
{
/* This assumes a newline can never be composed. */
- head = find_newline (pos, -1, 0, -1, -1, NULL, NULL, false) + 1;
+ head = find_newline (pos, -1, 0, -1, -1, NULL, NULL, false);
}
else
head = backlim;