Fix requested changes

This commit is contained in:
furo 2023-09-12 17:50:06 +02:00
parent 8f8c9a20c0
commit 79c503ec0f
2 changed files with 5 additions and 5 deletions

View file

@ -1717,13 +1717,13 @@ int CMenus::Render()
Box.HSplitBottom(160.f, &Box, &Part); Box.HSplitBottom(160.f, &Box, &Part);
Part.VSplitLeft(60.0f, 0, &TextBox); Part.VSplitLeft(60.0f, nullptr, &TextBox);
TextBox.VSplitLeft(20.0f, 0, &TextBox); TextBox.VSplitLeft(20.0f, nullptr, &TextBox);
TextBox.VSplitRight(60.0f, &TextBox, 0); TextBox.VSplitRight(60.0f, &TextBox, nullptr);
str_format(aBuf, sizeof(aBuf), Localize("Video was saved to '%s'"), aFilePath); str_format(aBuf, sizeof(aBuf), Localize("Video was saved to '%s'"), aFilePath);
UI()->DoLabel(&TextBox, aBuf, 18.0f, TEXTALIGN_LEFT); UI()->DoLabel(&TextBox, aBuf, 18.0f, TEXTALIGN_TL);
} }
#endif #endif
else if(m_Popup == POPUP_FIRST_LAUNCH) else if(m_Popup == POPUP_FIRST_LAUNCH)

View file

@ -987,7 +987,7 @@ void CMenus::RenderDemoList(CUIRect MainView)
} }
#if defined(CONF_VIDEORECORDER) #if defined(CONF_VIDEORECORDER)
if(m_DemoRenderInput.GetLength() > 0) if(!m_DemoRenderInput.IsEmpty())
{ {
m_Popup = POPUP_RENDER_DONE; m_Popup = POPUP_RENDER_DONE;
} }