diff options
author | xdu2 <xdu2@6f19259b-4bc3-4df7-8a09-765794883524> | 2009-10-26 03:05:16 +0000 |
---|---|---|
committer | xdu2 <xdu2@6f19259b-4bc3-4df7-8a09-765794883524> | 2009-10-26 03:05:16 +0000 |
commit | 8b0fc5c1e1ae65914ef13390d1420462e8cb159b (patch) | |
tree | f575124c289b72f5f7d6500971e881f508281997 /MdeModulePkg/Universal/SetupBrowserDxe/Expression.c | |
parent | f4a2af1f4d093fae5beba4872406b85bb07b34bf (diff) | |
download | edk2-platforms-8b0fc5c1e1ae65914ef13390d1420462e8cb159b.tar.xz |
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
Diffstat (limited to 'MdeModulePkg/Universal/SetupBrowserDxe/Expression.c')
-rw-r--r-- | MdeModulePkg/Universal/SetupBrowserDxe/Expression.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/MdeModulePkg/Universal/SetupBrowserDxe/Expression.c b/MdeModulePkg/Universal/SetupBrowserDxe/Expression.c index fc687540be..3f810323db 100644 --- a/MdeModulePkg/Universal/SetupBrowserDxe/Expression.c +++ b/MdeModulePkg/Universal/SetupBrowserDxe/Expression.c @@ -512,7 +512,7 @@ InitializeUnicodeCollationProtocol ( **/
VOID
IfrStrToUpper (
- CHAR16 *String
+ IN CHAR16 *String
)
{
while (*String != 0) {
@@ -635,7 +635,7 @@ IfrToUint ( if (String == NULL) {
return EFI_NOT_FOUND;
}
-
+
IfrStrToUpper (String);
StringPtr = StrStr (String, L"0X");
if (StringPtr != NULL) {
@@ -724,7 +724,7 @@ Done: }
if (String[1] != NULL) {
FreePool (String[1]);
- }
+ }
if (StringPtr != NULL) {
FreePool (StringPtr);
}
@@ -788,7 +788,7 @@ Done: }
if (String[1] != NULL) {
FreePool (String[1]);
- }
+ }
return Status;
}
@@ -877,7 +877,7 @@ Done: }
if (String[1] != NULL) {
FreePool (String[1]);
- }
+ }
return Status;
}
@@ -1051,7 +1051,7 @@ Done: }
if (String[1] != NULL) {
FreePool (String[1]);
- }
+ }
return Status;
}
@@ -1159,7 +1159,7 @@ Done: }
if (String[1] != NULL) {
FreePool (String[1]);
- }
+ }
return Status;
}
|