/**\r
Print at a specific location on the screen.\r
\r
- This function will move the cursor to a given screen location, print the specified string, \r
- and return the cursor to the original locaiton. \r
+ This function will move the cursor to a given screen location and print the specified string\r
\r
If -1 is specified for either the Row or Col the current screen location for BOTH \r
- will be used and the cursor's position will not be moved back to an original location.\r
+ will be used.\r
\r
if either Row or Col is out of range for the current console, then ASSERT\r
if Format is NULL, then ASSERT\r
CHAR16 *PostReplaceFormat;\r
CHAR16 *PostReplaceFormat2;\r
UINTN Return;\r
- INT32 CurrentCol;\r
- INT32 CurrentRow;\r
+\r
EFI_STATUS Status;\r
UINTN NormalAttribute;\r
CHAR16 *ResumeLocation;\r
FreePool(PostReplaceFormat);\r
\r
if (Col != -1 && Row != -1) {\r
- CurrentCol = gST->ConOut->Mode->CursorColumn;\r
- CurrentRow = gST->ConOut->Mode->CursorRow;\r
Status = gST->ConOut->SetCursorPosition(gST->ConOut, Col, Row);\r
ASSERT_EFI_ERROR(Status);\r
- } else {\r
- CurrentCol = 0;\r
- CurrentRow = 0;\r
}\r
\r
NormalAttribute = gST->ConOut->Mode->Attribute;\r
//\r
FormatWalker = ResumeLocation + 2;\r
}\r
- \r
- if (Col != -1 && Row != -1) {\r
- Status = gST->ConOut->SetCursorPosition(gST->ConOut, CurrentCol, CurrentRow);\r
- ASSERT_EFI_ERROR(Status);\r
- }\r
\r
FreePool(PostReplaceFormat2);\r
\r