Correct missouts preventing compilation

This commit is contained in:
asava 2020-04-03 01:54:03 +03:00
parent 418b4f4cc3
commit ed196e10c8
2 changed files with 3 additions and 0 deletions

View File

@ -114,6 +114,7 @@ const XStringW& XStringW::takeValueFrom(const wchar_t* S)
{
if ( S ) return takeValueFrom(S, wcslen(S));
Init(0);
return *this;
}
const XStringW& XStringW::takeValueFrom(const char* S)

View File

@ -2042,6 +2042,7 @@ VOID REFIT_MENU_SCREEN::InitScroll(IN INTN ItemCount, IN UINTN MaxCount,
ScrollState.LastVisible = ScrollState.FirstVisible + ScrollState.MaxVisible;
#if USE_XTHEME
//scroll bar geometry
if (!ThemeX.TypeSVG) {
UpButton.Width = ThemeX.ScrollWidth; // 16
@ -2063,6 +2064,7 @@ VOID REFIT_MENU_SCREEN::InitScroll(IN INTN ItemCount, IN UINTN MaxCount,
ScrollStart.Height = 0; // 7
ScrollEnd.Height = 0;
}
#endif
}