summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/pooptmodule.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pooptmodule.c b/src/pooptmodule.c
index 226d7182..7d40398d 100644
--- a/src/pooptmodule.c
+++ b/src/pooptmodule.c
@@ -98,7 +98,7 @@ static PyObject *poopt_cut_text(PyObject *self, PyObject *args)
bpos += 2;
else if (buffer[bpos] >= 224 && buffer[bpos] <= 239)
bpos += 3;
- else if (buffer[bpos] >= 240 && buffer[bpos] <= 244)
+ else if (buffer[bpos] >= 240 && buffer[bpos] <= 247)
bpos += 4;
else
return NULL;