mirror of
				https://github.com/python-pillow/Pillow.git
				synced 2025-10-31 16:07:30 +03:00 
			
		
		
		
	Fix erroneous condition which was never true
This commit is contained in:
		
							parent
							
								
									c59529d28d
								
							
						
					
					
						commit
						d4b2fa7348
					
				|  | @ -1426,7 +1426,7 @@ class Image(object): | |||
|         box = dest + (dest[0] + overlay.width, dest[1] + overlay.height) | ||||
| 
 | ||||
|         # destination image. don't copy if we're using the whole image. | ||||
|         if dest == (0,0) + self.size: | ||||
|         if box == (0,0) + self.size: | ||||
|             background = self | ||||
|         else: | ||||
|             background = self.crop(box) | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue
	
	Block a user