summaryrefslogtreecommitdiff
path: root/MdeModulePkg/Universal/SetupBrowserDxe/Ui.c
diff options
context:
space:
mode:
authorqwang12 <qwang12@6f19259b-4bc3-4df7-8a09-765794883524>2009-02-09 05:29:17 +0000
committerqwang12 <qwang12@6f19259b-4bc3-4df7-8a09-765794883524>2009-02-09 05:29:17 +0000
commitd1a54e2c3eb4dccf2f43ea3e6638f5e1639ad586 (patch)
tree0fe34c37b50c18cdd7df4ca505a89e64b4f08058 /MdeModulePkg/Universal/SetupBrowserDxe/Ui.c
parentf0a8eeb2c5fb31081414f74431aa54e5383f5708 (diff)
downloadedk2-platforms-d1a54e2c3eb4dccf2f43ea3e6638f5e1639ad586.tar.xz
ECC cleanup: Non-Boolean comparisons should use a compare operator (==, !=, >, < >=, <=)
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7481 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'MdeModulePkg/Universal/SetupBrowserDxe/Ui.c')
-rw-r--r--MdeModulePkg/Universal/SetupBrowserDxe/Ui.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/MdeModulePkg/Universal/SetupBrowserDxe/Ui.c b/MdeModulePkg/Universal/SetupBrowserDxe/Ui.c
index cc9652ee17..ae8d9a62d7 100644
--- a/MdeModulePkg/Universal/SetupBrowserDxe/Ui.c
+++ b/MdeModulePkg/Universal/SetupBrowserDxe/Ui.c
@@ -1216,7 +1216,7 @@ UpdateOptionSkipLines (
//
// If there is more string to process print on the next row and increment the Skip value
//
- if (StrLen (&OptionString[Index])) {
+ if (StrLen (&OptionString[Index]) != 0) {
if (SkipValue == 0) {
Row++;
//
@@ -1633,7 +1633,7 @@ UiDisplayMenu (
//
// If there is more string to process print on the next row and increment the Skip value
//
- if (StrLen (&MenuOption->Description[Index])) {
+ if (StrLen (&MenuOption->Description[Index]) != 0) {
if (Temp == 0) {
Row++;
}
@@ -1728,7 +1728,7 @@ UiDisplayMenu (
//
// If there is more string to process print on the next row and increment the Skip value
//
- if (StrLen (&OptionString[Index])) {
+ if (StrLen (&OptionString[Index]) != 0) {
if (Temp2 == 0) {
Row++;
//
@@ -1771,7 +1771,7 @@ UiDisplayMenu (
//
// If there is more string to process print on the next row and increment the Skip value
//
- if (StrLen (&StringPtr[Index])) {
+ if (StrLen (&StringPtr[Index]) != 0) {
if (Temp2 == 0) {
Row++;
//
@@ -1945,7 +1945,7 @@ UiDisplayMenu (
//
// If there is more string to process print on the next row and increment the Skip value
//
- if (StrLen (&OptionString[Index])) {
+ if (StrLen (&OptionString[Index]) != 0) {
MenuOption->Row++;
}
@@ -1973,7 +1973,7 @@ UiDisplayMenu (
//
// If there is more string to process print on the next row and increment the Skip value
//
- if (StrLen (&MenuOption->Description[Index])) {
+ if (StrLen (&MenuOption->Description[Index]) != 0) {
MenuOption->Row++;
}
@@ -2051,7 +2051,7 @@ UiDisplayMenu (
//
// If there is more string to process print on the next row and increment the Skip value
//
- if (StrLen (&OptionString[Index])) {
+ if (StrLen (&OptionString[Index]) != 0) {
MenuOption->Row++;
}
@@ -2074,7 +2074,7 @@ UiDisplayMenu (
//
// If there is more string to process print on the next row and increment the Skip value
//
- if (StrLen (&MenuOption->Description[Index])) {
+ if (StrLen (&MenuOption->Description[Index]) != 0) {
MenuOption->Row++;
}