mirror of
				https://github.com/RGBCube/serenity
				synced 2025-10-31 15:12:45 +00:00 
			
		
		
		
	LibGfx/ICO: Fix an erroneous condition
This is a remnant of the conversion to `ErrorOr` done in 492d5d7c.
			
			
This commit is contained in:
		
							parent
							
								
									91e1a77854
								
							
						
					
					
						commit
						fd765d2031
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		|  | @ -205,7 +205,7 @@ IntSize ICOImageDecoderPlugin::size() | |||
|     } | ||||
| 
 | ||||
|     if (m_context->state < ICOLoadingContext::State::DirectoryDecoded) { | ||||
|         if (!load_ico_directory(*m_context).is_error()) { | ||||
|         if (load_ico_directory(*m_context).is_error()) { | ||||
|             m_context->state = ICOLoadingContext::State::Error; | ||||
|             return {}; | ||||
|         } | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Lucas CHOLLET
						Lucas CHOLLET