mirror of
				https://github.com/SoftFever/OrcaSlicer.git
				synced 2025-11-02 20:51:23 -07:00 
			
		
		
		
	Fixed Typo for the last commit
This commit is contained in:
		
							parent
							
								
									233eda2813
								
							
						
					
					
						commit
						d31590f438
					
				
					 1 changed files with 2 additions and 2 deletions
				
			
		| 
						 | 
				
			
			@ -434,9 +434,9 @@ wxBitmap create_scaled_bitmap(const std::string& bmp_name_in, const bool is_hori
 | 
			
		|||
        
 | 
			
		||||
    std::string bmp_name = bmp_name_in;
 | 
			
		||||
	boost::replace_last(bmp_name, ".png", "");
 | 
			
		||||
    wxBitmap *bmp = cache.load_svg(bmp_name, height, width);
 | 
			
		||||
    wxBitmap *bmp = cache.load_svg(bmp_name, width, height);
 | 
			
		||||
    if (bmp == nullptr)
 | 
			
		||||
        bmp = cache.load_png(bmp_name, height, width);
 | 
			
		||||
        bmp = cache.load_png(bmp_name, width, height);
 | 
			
		||||
    return *bmp;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue