]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdeModulePkg/Universal/SetupBrowserDxe/Ui.c
Patch to remove STATIC modifier. This is on longer recommended by EFI Framework codin...
[mirror_edk2.git] / MdeModulePkg / Universal / SetupBrowserDxe / Ui.c
index cd933e98e6eb891578857fadc174f785ef9ac99d..8421ad977702e4771877613bbbea6aec28dca5c9 100644 (file)
@@ -1019,7 +1019,7 @@ GetWidth (
 }\r
 \r
 \r
-STATIC BOOLEAN GetLineByWidthFinished = FALSE;\r
+BOOLEAN GetLineByWidthFinished = FALSE;\r
 \r
 /**\r
   Will copy LineWidth amount of a string in the OutputString buffer and return the\r
@@ -2285,7 +2285,7 @@ UiDisplayMenu (
           BufferSize = StrLen (StringPtr) / 2;\r
           DevicePath = AllocatePool (BufferSize);\r
 \r
-          HexStringToBuffer ((UINT8 *) DevicePath, &BufferSize, StringPtr);\r
+          HexStringToBufInReverseOrder ((UINT8 *) DevicePath, &BufferSize, StringPtr);\r
           Selection->Handle = HiiLibDevicePathToHiiHandle (DevicePath);\r
           if (Selection->Handle == NULL) {\r
             //\r
@@ -2828,6 +2828,7 @@ UiDisplayMenu (
 \r
       if (!EFI_ERROR (Status)) {\r
         Selection->Action = UI_ACTION_REFRESH_FORM;\r
+        Selection->Statement = NULL;\r
 \r
         //\r
         // Show NV update flag on status bar\r