mirror of
https://github.com/ddnet/ddnet.git
synced 2024-09-20 09:34:19 +00:00
Clang Format
This commit is contained in:
parent
fa98ad1e36
commit
216d4421ce
|
@ -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);
|
||||
|
|
|
@ -4345,9 +4345,10 @@ void CEditor::AddFileDialogEntry(int Index, CUIRect *pView)
|
|||
break;
|
||||
default:
|
||||
pIconType = "\xEF\x81\xBB";
|
||||
|
||||
}
|
||||
} else {
|
||||
}
|
||||
else
|
||||
{
|
||||
pIconType = "\xEF\x81\xBB";
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue