aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Eklöf <daniel@ekloef.se>2021-01-26 19:48:56 +0000
committerDaniel Eklöf <daniel@ekloef.se>2021-01-26 19:48:56 +0000
commit567071e48a8e2f677198bd9fc0e6099f54730a56 (patch)
tree23892010ca9697603d927e108f69574e06c22724
parentsearch: match composed characters when extending the search string to the next word boundary (diff)
selection: no xassert() in the releases/1.6 branch
-rw-r--r--selection.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/selection.c b/selection.c
index b1129152..4a63b538 100644
--- a/selection.c
+++ b/selection.c
@@ -1327,7 +1327,7 @@ fdm_receive(struct fdm *fdm, int fd, int events, void *data)
if (i + 1 < left && p[i + 1] == '\n') {
ctx->decoder(ctx, p, i + 1);
- xassert(i + 2 <= left);
+ assert(i + 2 <= left);
p += i + 2;
left -= i + 2;
goto again;