File diff r25631:90c126903731 → r25632:f3427a9858b5
src/os/windows/string_uniscribe.cpp
Show inline comments
 
@@ -144,7 +144,7 @@ void UniscribeResetScriptCache(FontSize 
 
/** Load the matching native Windows font. */
 
static HFONT HFontFromFont(Font *font)
 
{
 
	if (font->fc->GetOSHandle() != nullptr) return CreateFontIndirect((const PLOGFONT)font->fc->GetOSHandle());
 
	if (font->fc->GetOSHandle() != nullptr) return CreateFontIndirect(reinterpret_cast<PLOGFONT>(const_cast<void *>(font->fc->GetOSHandle())));
 

	
 
	LOGFONT logfont;
 
	ZeroMemory(&logfont, sizeof(LOGFONT));