diff options
Diffstat (limited to 'Modules')
-rw-r--r-- | Modules/unicodedata.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/unicodedata.c b/Modules/unicodedata.c index 69345ea..4711123 100644 --- a/Modules/unicodedata.c +++ b/Modules/unicodedata.c @@ -282,7 +282,7 @@ _getname(Py_UCS4 code, char* buffer, int buflen) int word; unsigned char* w; - if (code < 0 || code >= 65536) + if (code >= 65536) return 0; /* get offset into phrasebook */ |