UINTN Index;\r
UINTN Col;\r
UINTN Row;\r
- CHAR16 RowString[50];\r
CHAR16 ModeString[50];\r
CHAR16 *PStr;\r
UINTN MaxMode;\r
//\r
UnicodeValueToString (ModeString, 0, Col, 0);\r
PStr = &ModeString[0];\r
- StrnCat (PStr, L" x ", StrLen(L" x "));\r
- UnicodeValueToString (RowString, 0, Row, 0);\r
- PStr = &ModeString[0];\r
- StrnCat (PStr, RowString, StrLen(RowString));\r
+ StrnCat (PStr, L" x ", StrLen(L" x ") + 1);\r
+ PStr = PStr + StrLen (PStr);\r
+ UnicodeValueToString (PStr , 0, Row, 0);\r
\r
ModeToken[Index] = HiiSetString (CallbackData->BmmHiiHandle, 0, ModeString, NULL);\r
\r