mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-04-25 11:33:42 +03:00
Replaced tabs with spaces
This commit is contained in:
parent
51f31f3f5b
commit
ae43af61da
|
@ -246,7 +246,7 @@ static struct PyGetSetDef getsetters[] = {
|
|||
static PyTypeObject ImagingDisplayType = {
|
||||
PyVarObject_HEAD_INIT(NULL, 0)
|
||||
"ImagingDisplay", /*tp_name*/
|
||||
sizeof(ImagingDisplayObject), /*tp_size*/
|
||||
sizeof(ImagingDisplayObject),/*tp_size*/
|
||||
0, /*tp_itemsize*/
|
||||
/* methods */
|
||||
(destructor)_delete, /*tp_dealloc*/
|
||||
|
|
|
@ -823,6 +823,7 @@ static int decode_bcn(Imaging im, ImagingCodecState state, const UINT8* src, int
|
|||
if (state->y >= ymax) return -1; \
|
||||
} \
|
||||
break
|
||||
|
||||
DECODE_LOOP(1, 8, rgba);
|
||||
DECODE_LOOP(2, 16, rgba);
|
||||
DECODE_LOOP(3, 16, rgba);
|
||||
|
|
|
@ -91,7 +91,7 @@ ImagingGetProjection(Imaging im, UINT8* xproj, UINT8* yproj)
|
|||
memset(xproj, 0, im->xsize);
|
||||
memset(yproj, 0, im->ysize);
|
||||
|
||||
#define GETPROJ(image, mask)\
|
||||
#define GETPROJ(image, mask)\
|
||||
for (y = 0; y < im->ysize; y++) {\
|
||||
has_data = 0;\
|
||||
for (x = 0; x < im->xsize; x++)\
|
||||
|
|
|
@ -163,7 +163,7 @@ static PyTypeObject OutlineType = {
|
|||
sizeof(OutlineObject), /*tp_size*/
|
||||
0, /*tp_itemsize*/
|
||||
/* methods */
|
||||
(destructor)_outline_dealloc, /*tp_dealloc*/
|
||||
(destructor)_outline_dealloc,/*tp_dealloc*/
|
||||
0, /*tp_print*/
|
||||
0, /*tp_getattr*/
|
||||
0, /*tp_setattr*/
|
||||
|
|
Loading…
Reference in New Issue
Block a user