git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7481
6f19259b-4bc3-4df7-8a09-
765794883524
HiiValue.Value.u64 = 0;\r
for (Index = 0; Index < Question->MaxContainers; Index++) {\r
HiiValue.Value.u8 = ValueArray[Index];\r
HiiValue.Value.u64 = 0;\r
for (Index = 0; Index < Question->MaxContainers; Index++) {\r
HiiValue.Value.u8 = ValueArray[Index];\r
- if (HiiValue.Value.u8) {\r
+ if (HiiValue.Value.u8 != 0) {\r
//\r
// If there is more string to process print on the next row and increment the Skip value\r
//\r
//\r
// If there is more string to process print on the next row and increment the Skip value\r
//\r
- if (StrLen (&StringPtr[ArrayEntry])) {\r
+ if (StrLen (&StringPtr[ArrayEntry]) != 0) {\r
NumberOfLines++;\r
}\r
\r
NumberOfLines++;\r
}\r
\r
//\r
// If there is more string to process print on the next row and increment the Skip value\r
//\r
//\r
// If there is more string to process print on the next row and increment the Skip value\r
//\r
- if (StrLen (&OptionString[Index])) {\r
+ if (StrLen (&OptionString[Index]) != 0) {\r
if (SkipValue == 0) {\r
Row++;\r
//\r
if (SkipValue == 0) {\r
Row++;\r
//\r
//\r
// If there is more string to process print on the next row and increment the Skip value\r
//\r
//\r
// If there is more string to process print on the next row and increment the Skip value\r
//\r
- if (StrLen (&MenuOption->Description[Index])) {\r
+ if (StrLen (&MenuOption->Description[Index]) != 0) {\r
if (Temp == 0) {\r
Row++;\r
}\r
if (Temp == 0) {\r
Row++;\r
}\r
//\r
// If there is more string to process print on the next row and increment the Skip value\r
//\r
//\r
// If there is more string to process print on the next row and increment the Skip value\r
//\r
- if (StrLen (&OptionString[Index])) {\r
+ if (StrLen (&OptionString[Index]) != 0) {\r
if (Temp2 == 0) {\r
Row++;\r
//\r
if (Temp2 == 0) {\r
Row++;\r
//\r
//\r
// If there is more string to process print on the next row and increment the Skip value\r
//\r
//\r
// If there is more string to process print on the next row and increment the Skip value\r
//\r
- if (StrLen (&StringPtr[Index])) {\r
+ if (StrLen (&StringPtr[Index]) != 0) {\r
if (Temp2 == 0) {\r
Row++;\r
//\r
if (Temp2 == 0) {\r
Row++;\r
//\r
//\r
// If there is more string to process print on the next row and increment the Skip value\r
//\r
//\r
// If there is more string to process print on the next row and increment the Skip value\r
//\r
- if (StrLen (&OptionString[Index])) {\r
+ if (StrLen (&OptionString[Index]) != 0) {\r
MenuOption->Row++;\r
}\r
\r
MenuOption->Row++;\r
}\r
\r
//\r
// If there is more string to process print on the next row and increment the Skip value\r
//\r
//\r
// If there is more string to process print on the next row and increment the Skip value\r
//\r
- if (StrLen (&MenuOption->Description[Index])) {\r
+ if (StrLen (&MenuOption->Description[Index]) != 0) {\r
MenuOption->Row++;\r
}\r
\r
MenuOption->Row++;\r
}\r
\r
//\r
// If there is more string to process print on the next row and increment the Skip value\r
//\r
//\r
// If there is more string to process print on the next row and increment the Skip value\r
//\r
- if (StrLen (&OptionString[Index])) {\r
+ if (StrLen (&OptionString[Index]) != 0) {\r
MenuOption->Row++;\r
}\r
\r
MenuOption->Row++;\r
}\r
\r
//\r
// If there is more string to process print on the next row and increment the Skip value\r
//\r
//\r
// If there is more string to process print on the next row and increment the Skip value\r
//\r
- if (StrLen (&MenuOption->Description[Index])) {\r
+ if (StrLen (&MenuOption->Description[Index]) != 0) {\r
MenuOption->Row++;\r
}\r
\r
MenuOption->Row++;\r
}\r
\r