mirror of
				https://github.com/python-pillow/Pillow.git
				synced 2025-11-04 09:57:43 +03:00 
			
		
		
		
	Merge pull request #1638 from manisandro/conditional
Fix incorrect conditional in encode.c
This commit is contained in:
		
						commit
						2819e42cd7
					
				
							
								
								
									
										2
									
								
								encode.c
									
									
									
									
									
								
							
							
						
						
									
										2
									
								
								encode.c
									
									
									
									
									
								
							| 
						 | 
					@ -54,7 +54,7 @@ PyImaging_EncoderNew(int contextsize)
 | 
				
			||||||
    ImagingEncoderObject *encoder;
 | 
					    ImagingEncoderObject *encoder;
 | 
				
			||||||
    void *context;
 | 
					    void *context;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    if(!PyType_Ready(&ImagingEncoderType) < 0)
 | 
					    if(PyType_Ready(&ImagingEncoderType) < 0)
 | 
				
			||||||
        return NULL;
 | 
					        return NULL;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    encoder = PyObject_New(ImagingEncoderObject, &ImagingEncoderType);
 | 
					    encoder = PyObject_New(ImagingEncoderObject, &ImagingEncoderType);
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue
	
	Block a user