}
}
- if (IsGuideTextActivated())
+ if (__pGuideTextObject)
{
r = __pGuideTextObject->SetFont(__pFont, 0, __pGuideTextObject->GetTextLength());
SysTryReturnResult(NID_UI_CTRL, r == E_SUCCESS, r, "Unable to set font.");
}
}
- if (IsGuideTextActivated())
+ if (__pGuideTextObject)
{
r = __pGuideTextObject->SetFont(__pFont, 0, __pGuideTextObject->GetTextLength());
SysTryReturnResult(NID_UI_CTRL, r == E_SUCCESS, r, "Unable to set font.");
SysTryReturnResult(NID_UI_CTRL, r == E_SUCCESS, GetLastResult(), "Unable to set font.");
}
- if (IsGuideTextActivated())
+ if (__pGuideTextObject)
{
r = __pGuideTextObject->SetFont(__pFont, 0, __pGuideTextObject->GetTextLength());
SysTryReturnResult(NID_UI_CTRL, r == E_SUCCESS, GetLastResult(), "Unable to set font.");
SysTryReturnResult(NID_UI_CTRL, r == E_SUCCESS, r, "Unable to set font.");
}
- if (IsGuideTextActivated())
+ if (__pGuideTextObject)
{
r = __pGuideTextObject->SetFont(__pFont, 0, __pGuideTextObject->GetTextLength());
SysTryReturnResult(NID_UI_CTRL, r == E_SUCCESS, r, "Unable to set font.");