mirror of
https://github.com/python/cpython.git
synced 2025-10-28 01:00:34 +00:00
parent
390e9dbd4f
commit
6a16ea07b8
1 changed files with 1 additions and 1 deletions
|
|
@ -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 */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue