Revision: 14748
          http://sourceforge.net/p/edk2/code/14748
Author:   ydong10
Date:     2013-10-08 06:26:37 +0000 (Tue, 08 Oct 2013)
Log Message:
-----------
Fix orderedlist opcode shows abnormal.

Signed-off-by: Eric Dong <[email protected]>
Reviewed-by: Liming Gao <[email protected]>

Modified Paths:
--------------
    trunk/edk2/MdeModulePkg/Universal/DisplayEngineDxe/FormDisplay.c

Modified: trunk/edk2/MdeModulePkg/Universal/DisplayEngineDxe/FormDisplay.c
===================================================================
--- trunk/edk2/MdeModulePkg/Universal/DisplayEngineDxe/FormDisplay.c    
2013-10-08 06:25:36 UTC (rev 14747)
+++ trunk/edk2/MdeModulePkg/Universal/DisplayEngineDxe/FormDisplay.c    
2013-10-08 06:26:37 UTC (rev 14748)
@@ -2076,7 +2076,7 @@
           }
 
           if ((FormData->Attribute & HII_DISPLAY_MODAL) != 0) {
-            DisplayOneMenu (MenuOption, 
+            Status = DisplayOneMenu (MenuOption, 
                             LEFT_SKIPPED_COLUMNS,
                             gStatementDimensions.LeftColumn + 
gModalSkipColumn, 
                             Link == TopOfScreen ? SkipValue : 0, 
@@ -2084,7 +2084,7 @@
                             (BOOLEAN) ((Link == NewPos) && 
IsSelectable(MenuOption))
                             );
           } else {
-            DisplayOneMenu (MenuOption, 
+            Status = DisplayOneMenu (MenuOption, 
                             LEFT_SKIPPED_COLUMNS,
                             gStatementDimensions.LeftColumn, 
                             Link == TopOfScreen ? SkipValue : 0, 
@@ -2093,6 +2093,9 @@
                             );         
           }
 
+          if (EFI_ERROR (Status)) {
+            return Status;
+          }
           //
           // 3. Update the row info which will be used by next menu.
           //

This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.


------------------------------------------------------------------------------
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from 
the latest Intel processors and coprocessors. See abstracts and register >
http://pubads.g.doubleclick.net/gampad/clk?id=60134071&iu=/4140/ostg.clktrk
_______________________________________________
edk2-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/edk2-commits

Reply via email to