Fix #1029
This commit is contained in:
parent
c1397fd366
commit
6c8a52875e
1 changed files with 1 additions and 1 deletions
|
|
@ -2148,7 +2148,7 @@ COUNT_WRAP(cursor_forward)
|
|||
|
||||
static PyObject*
|
||||
wcwidth_wrap(PyObject UNUSED *self, PyObject *chr) {
|
||||
return PyLong_FromUnsignedLong(wcwidth_std(PyLong_AsLong(chr)));
|
||||
return PyLong_FromLong(wcwidth_std(PyLong_AsLong(chr)));
|
||||
}
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue