1. Code clean up: add IN/OUT modifier for parameters.
2. UI enchancement: if there is no editable item in a Form, the F9/F10 will not be displayed in the footer. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9363 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
@@ -44,7 +44,6 @@ BOOLEAN gDownArrow;
|
||||
//
|
||||
// Browser Global Strings
|
||||
//
|
||||
CHAR16 *gFunctionOneString;
|
||||
CHAR16 *gFunctionNineString;
|
||||
CHAR16 *gFunctionTenString;
|
||||
CHAR16 *gEnterString;
|
||||
@@ -2500,10 +2499,6 @@ InitializeFormSet (
|
||||
//
|
||||
// Function key prompt can not be displayed if the function key has been disabled.
|
||||
//
|
||||
if ((gFunctionKeySetting & FUNCTION_ONE) != FUNCTION_ONE) {
|
||||
gFunctionOneString = GetToken (STRING_TOKEN (EMPTY_STRING), gHiiHandle);
|
||||
}
|
||||
|
||||
if ((gFunctionKeySetting & FUNCTION_NINE) != FUNCTION_NINE) {
|
||||
gFunctionNineString = GetToken (STRING_TOKEN (EMPTY_STRING), gHiiHandle);
|
||||
}
|
||||
|
Reference in New Issue
Block a user