diff options
author | Dan Sinclair <dsinclair@chromium.org> | 2016-02-24 09:51:16 -0500 |
---|---|---|
committer | Dan Sinclair <dsinclair@chromium.org> | 2016-02-24 09:51:16 -0500 |
commit | 50cce609050e1a40e1d6936e0a3f0614b4483eee (patch) | |
tree | bdcd3399ee0c2fc5352ec8b008499a91ee08a422 /core/src/fxcrt/fx_basic_bstring.cpp | |
parent | a7f70cc1ff7d54b92d9c55326c1439a25116e00c (diff) | |
download | pdfium-50cce609050e1a40e1d6936e0a3f0614b4483eee.tar.xz |
Fixing whitespace lint errors.
This CL enables several of the diabled whitelist/* lint checks.
R=thestig@chromium.org, tsepez@chromium.org
Review URL: https://codereview.chromium.org/1730553002 .
Diffstat (limited to 'core/src/fxcrt/fx_basic_bstring.cpp')
-rw-r--r-- | core/src/fxcrt/fx_basic_bstring.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/core/src/fxcrt/fx_basic_bstring.cpp b/core/src/fxcrt/fx_basic_bstring.cpp index af06f0074b..8b4442e823 100644 --- a/core/src/fxcrt/fx_basic_bstring.cpp +++ b/core/src/fxcrt/fx_basic_bstring.cpp @@ -486,9 +486,7 @@ void CFX_ByteString::FormatV(const FX_CHAR* lpszFormat, va_list argList) { nMaxLen += 2; } else if (*lpsz == '*') { nWidth = va_arg(argList, int); - } else if (*lpsz == '-' || *lpsz == '+' || *lpsz == '0' || *lpsz == ' ') - ; - else { + } else if (*lpsz != '-' && *lpsz != '+' && *lpsz != '0' && *lpsz != ' ') { break; } } |