// If String is NULL, then it's the end of the list\r
//\r
String = VA_ARG (Args, CHAR16 *);\r
- if (String != NULL) {\r
+ if (String == NULL) {\r
break;\r
}\r
\r
}\r
\r
//\r
-// Following are BDS Lib functions which contain all the code about setup browser reset reminder feature.\r
+// Following are BDS Lib functions which contain all the code about setup browser reset reminder feature.\r
// Setup Browser reset reminder feature is that an reset reminder will be given before user leaves the setup browser if\r
// user change any option setting which needs a reset to be effective, and the reset will be applied according to the user selection.\r
//\r
// Popup a menu to notice user\r
//\r
do {\r
- IfrLibCreatePopUp (2, &Key, StringBuffer1, StringBuffer2);\r
+ CreatePopUp (EFI_LIGHTGRAY | EFI_BACKGROUND_BLUE, &Key, StringBuffer1, StringBuffer2, NULL);\r
} while ((Key.ScanCode != SCAN_ESC) && (Key.UnicodeChar != CHAR_CARRIAGE_RETURN));\r
\r
FreePool (StringBuffer1);\r