mirror of
https://github.com/acidanthera/audk.git
synced 2025-04-08 17:05:09 +02:00
Refine code to make code run more safely.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10993 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
parent
1e51d5954b
commit
1974777e21
@ -2824,7 +2824,8 @@ UiDisplayMenu (
|
||||
// checking can be done.
|
||||
//
|
||||
DistanceValue += AdjustDateAndTimePosition (TRUE, &NewPos);
|
||||
|
||||
|
||||
ASSERT (MenuOption != NULL);
|
||||
if (Difference < 0) {
|
||||
//
|
||||
// We want to goto previous MenuOption, but finally we go down.
|
||||
|
Loading…
x
Reference in New Issue
Block a user