Skip to content
  • Federico Mena Quintero's avatar
    Fix Ximian bug #12125; merged from gdk-pixbuf stable. · ab13c880
    Federico Mena Quintero authored
    2001-11-21  Federico Mena Quintero  <federico@ximian.com>
    
    	Fix Ximian bug #12125; merged from gdk-pixbuf stable.
    
    	* gdk-pixbuf/io-bmp.c (gdk_pixbuf__bmp_image_load_increment): Use
    	a simple state machine instead of a scary if/else chain.
    	(DecodeHeader): Set the reading state.
    	(DecodeColormap): Set the reading state.
    	(decode_bitmasks): New function, decodes the bitmasks for
    	BI_BITFIELDS coding.
    	(OneLine32): Handle BI_BITFIELDS coding.
    	(OneLine16): Likewise.
    ab13c880
To find the state of this project's repository at the time of any of these versions, check out the tags.