Clang Format

This commit is contained in:
VoxelDoesCode 2022-08-24 16:17:04 -04:00
parent fa98ad1e36
commit 216d4421ce
2 changed files with 18 additions and 16 deletions

View file

@ -47,7 +47,8 @@ int CMenus::DoButton_FontIcon(CButtonContainer *pButtonContainer, const char *pT
SLabelProperties Props;
UI()->DoLabel(&Temp, pText, Temp.h * CUI::ms_FontmodHeight, TEXTALIGN_CENTER, Props);
if (!Enabled){
if(!Enabled)
{
TextRender()->TextColor(ColorRGBA(1.0f, 0.0f, 0.0f, 1.0f));
TextRender()->TextOutlineColor(ColorRGBA(0.0f, 0.0f, 0.0f, 0.0f));
UI()->DoLabel(&Temp, "\xEF\x9C\x95", Temp.h * CUI::ms_FontmodHeight, TEXTALIGN_CENTER, Props);

View file

@ -4345,9 +4345,10 @@ void CEditor::AddFileDialogEntry(int Index, CUIRect *pView)
break;
default:
pIconType = "\xEF\x81\xBB";
}
} else {
}
else
{
pIconType = "\xEF\x81\xBB";
}