mirror of
https://github.com/chibicitiberiu/rainmeter-studio.git
synced 2024-02-24 04:33:31 +00:00
Gfx: Add missing HRESULT check
This commit is contained in:
parent
9885c57b70
commit
3cfdc8c0b3
@ -168,6 +168,7 @@ void TextFormatD2D::SetProperties(
|
|||||||
{
|
{
|
||||||
hr = Util::GetFamilyNameFromDWriteFont(
|
hr = Util::GetFamilyNameFromDWriteFont(
|
||||||
dwriteFont, dwriteFamilyName, _countof(dwriteFamilyName));
|
dwriteFont, dwriteFamilyName, _countof(dwriteFamilyName));
|
||||||
|
if (SUCCEEDED(hr))
|
||||||
{
|
{
|
||||||
fontFamily = dwriteFamilyName;
|
fontFamily = dwriteFamilyName;
|
||||||
Util::GetPropertiesFromDWriteFont(
|
Util::GetPropertiesFromDWriteFont(
|
||||||
|
Loading…
Reference in New Issue
Block a user