mirror of
				https://github.com/NoelFB/blah.git
				synced 2025-11-04 01:41:34 +08:00 
			
		
		
		
	Font::create could return incorrect value type
This commit is contained in:
		@ -49,7 +49,7 @@ FontRef Font::create(Stream& stream)
 | 
			
		||||
	if (stbtt_InitFont(fn, buffer.data(), 0) == 0)
 | 
			
		||||
	{
 | 
			
		||||
		Log::error("Unable to parse Font file");
 | 
			
		||||
		return false;
 | 
			
		||||
		return FontRef();
 | 
			
		||||
	}
 | 
			
		||||
 | 
			
		||||
	// setup
 | 
			
		||||
 | 
			
		||||
		Reference in New Issue
	
	Block a user