diff options
author | qwang12 <qwang12@6f19259b-4bc3-4df7-8a09-765794883524> | 2009-02-09 05:29:17 +0000 |
---|---|---|
committer | qwang12 <qwang12@6f19259b-4bc3-4df7-8a09-765794883524> | 2009-02-09 05:29:17 +0000 |
commit | d1a54e2c3eb4dccf2f43ea3e6638f5e1639ad586 (patch) | |
tree | 0fe34c37b50c18cdd7df4ca505a89e64b4f08058 /MdeModulePkg/Universal/SetupBrowserDxe/Presentation.c | |
parent | f0a8eeb2c5fb31081414f74431aa54e5383f5708 (diff) | |
download | edk2-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.c | 2 |
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++;
}
|