mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-01-25 00:34:14 +03:00
Restablishing old changes
This commit is contained in:
parent
450a068ccb
commit
b170c5627e
|
@ -103,7 +103,7 @@ getfont(PyObject* self_, PyObject* args, PyObject* kw)
|
|||
int size;
|
||||
int index = 0;
|
||||
unsigned char* encoding;
|
||||
unsigned char** file_like;
|
||||
unsigned char* file_like;
|
||||
int file_like_size = 0;
|
||||
static char* kwlist[] = {
|
||||
"filename", "size", "index", "encoding", "file_like", "file_like_size", NULL
|
||||
|
@ -111,7 +111,7 @@ getfont(PyObject* self_, PyObject* args, PyObject* kw)
|
|||
|
||||
if (!PyArg_ParseTupleAndKeywords(args, kw, "eti|isz*i", kwlist,
|
||||
Py_FileSystemDefaultEncoding, &filename,
|
||||
&size, &index, &encoding, file_like,
|
||||
&size, &index, &encoding, &file_like,
|
||||
&file_like_size))
|
||||
return NULL;
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user