mirror of
				https://github.com/python-pillow/Pillow.git
				synced 2025-10-31 16:07:30 +03:00 
			
		
		
		
	Fixed typos
This commit is contained in:
		
							parent
							
								
									7e4fdb1097
								
							
						
					
					
						commit
						25e72d5856
					
				|  | @ -140,7 +140,7 @@ Changelog (Pillow) | |||
| - GIF: Permit LZW code lengths up to 12 bits in GIF decode #2813 | ||||
|   [wiredfool] | ||||
| 
 | ||||
| - Fix unterminiated string and unchecked exception in _font_text_asBytes. #2825 | ||||
| - Fix unterminated string and unchecked exception in _font_text_asBytes. #2825 | ||||
|   [wiredfool] | ||||
| 
 | ||||
| - PPM: Use fixed list of whitespace, rather relying on locale, fixes #272. #2831 | ||||
|  |  | |||
|  | @ -724,7 +724,7 @@ def _save(im, fp, filename): | |||
|         ) | ||||
| 
 | ||||
|     # if we optimize, libjpeg needs a buffer big enough to hold the whole image | ||||
|     # in a shot. Guessing on the size, at im.size bytes. (raw pizel size is | ||||
|     # in a shot. Guessing on the size, at im.size bytes. (raw pixel size is | ||||
|     # channels*size, this is a value that's been used in a django patch. | ||||
|     # https://github.com/matthewwithanm/django-imagekit/issues/50 | ||||
|     bufsize = 0 | ||||
|  |  | |||
|  | @ -327,7 +327,7 @@ memory_get_block(ImagingMemoryArena arena, int requested_size, int dirty) | |||
|             block.ptr = realloc(block.ptr, requested_size); | ||||
|         } | ||||
|         if ( ! block.ptr) { | ||||
|             // Can't allocate, free prevous pointer (it is still valid)
 | ||||
|             // Can't allocate, free previous pointer (it is still valid)
 | ||||
|             free(arena->blocks_pool[arena->blocks_cached].ptr); | ||||
|             arena->stats_freed_blocks += 1; | ||||
|             return block; | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue
	
	Block a user