avoid null pointer

Signed-off-by: SergeySlice <sergey.slice@gmail.com>
This commit is contained in:
SergeySlice 2020-05-11 06:21:46 +03:00
parent cfaf51cee4
commit 84c8e614e3

View File

@ -2594,7 +2594,7 @@ UINTN REFIT_MENU_SCREEN::RunMainMenu(IN INTN DefaultSelection, OUT REFIT_ABSTRAC
while (!MenuExit) {
GetAnime();
DBG("AnimeRun=%d\n", FilmC->AnimeRun?1:0);
DBG("AnimeRun=%d\n", (FilmC && FilmC->AnimeRun)?1:0);
MenuExit = RunGenericMenu(MainStyle, &DefaultEntryIndex, &MainChosenEntry);
TimeoutSeconds = 0;