Gfx: Fix incorrect text height/width with D2D in some cases due to typo

This commit is contained in:
Birunthan Mohanathas 2013-08-10 12:03:40 +03:00
parent a3efbbac3f
commit 21f5ff1303

View File

@ -56,7 +56,7 @@ void TextFormatD2D::CreateLayout(const WCHAR* str, UINT strLen, float maxW, floa
if (maxH != m_TextLayout->GetMaxHeight())
{
m_TextLayout->SetMaxWidth(maxH);
m_TextLayout->SetMaxHeight(maxH);
}
}
else