fix Load_IFF() when bpp=0 !
This commit is contained in:
		
							parent
							
								
									c6014da99f
								
							
						
					
					
						commit
						758bc0833c
					
				@ -1043,7 +1043,7 @@ void Load_IFF(T_IO_Context * context)
 | 
			
		||||
              ratio = PIXEL_WIDE; // 1.5 <= ratio
 | 
			
		||||
          }
 | 
			
		||||
          bpp = header.BitPlanes;
 | 
			
		||||
          if (bpp <= 8)
 | 
			
		||||
          if (bpp <= 8 && bpp > 0)
 | 
			
		||||
          {
 | 
			
		||||
            unsigned int i;
 | 
			
		||||
            // Set a default grayscale palette : if the
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user