Use the correct update regions for compressed bmps. (#150664, Owen Taylor,
2005-03-27 Matthias Clasen <mclasen@redhat.com> * io-bmp.c (DoCompressed): Use the correct update regions for compressed bmps. (#150664, Owen Taylor, test images provided by David Costanzo)
This commit is contained in:
		
				
					committed by
					
						
						Matthias Clasen
					
				
			
			
				
	
			
			
			
						parent
						
							fcde8479cc
						
					
				
				
					commit
					eb96e5c861
				
			@ -1,3 +1,9 @@
 | 
			
		||||
2005-03-27  Matthias Clasen  <mclasen@redhat.com>
 | 
			
		||||
 | 
			
		||||
	* io-bmp.c (DoCompressed): Use the correct update regions for
 | 
			
		||||
	compressed bmps.  (#150664, Owen Taylor, test images provided
 | 
			
		||||
	by David Costanzo)
 | 
			
		||||
 | 
			
		||||
Sun Mar 27 19:59:52 2005  Manish Singh  <yosh@gimp.org>
 | 
			
		||||
 | 
			
		||||
	* io-bmp.c (grow_buffer): reject 0-sized buffers as corrupt header
 | 
			
		||||
 | 
			
		||||
@ -1044,7 +1044,7 @@ DoCompressed(struct bmp_progressive_state *context, GError **error)
 | 
			
		||||
			gint new_y = MIN (context->compr.y, context->Header.height);
 | 
			
		||||
			(*context->updated_func) (context->pixbuf,
 | 
			
		||||
						  0,
 | 
			
		||||
						  y,
 | 
			
		||||
						  context->Header.height - new_y,
 | 
			
		||||
						  context->Header.width,
 | 
			
		||||
						  new_y - y,
 | 
			
		||||
						  context->user_data);
 | 
			
		||||
 | 
			
		||||
		Reference in New Issue
	
	Block a user