summaryrefslogtreecommitdiff
path: root/MdeModulePkg/Universal/SetupBrowserDxe/Presentation.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/Presentation.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/Presentation.c')
-rw-r--r--MdeModulePkg/Universal/SetupBrowserDxe/Presentation.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/MdeModulePkg/Universal/SetupBrowserDxe/Presentation.c b/MdeModulePkg/Universal/SetupBrowserDxe/Presentation.c
index adc0cf8384..e9fd15e7d9 100644
--- a/MdeModulePkg/Universal/SetupBrowserDxe/Presentation.c
+++ b/MdeModulePkg/Universal/SetupBrowserDxe/Presentation.c
@@ -525,7 +525,7 @@ DisplayForm (
//
// If there is more string to process print on the next row and increment the Skip value
//
- if (StrLen (&StringPtr[ArrayEntry])) {
+ if (StrLen (&StringPtr[ArrayEntry]) != 0) {
NumberOfLines++;
}