Index: core/src/fxcrt/fx_basic_bstring.cpp |
diff --git a/core/src/fxcrt/fx_basic_bstring.cpp b/core/src/fxcrt/fx_basic_bstring.cpp |
index af06f0074b18f1ddf3ff5b42dabd7b5755af1f11..3eaee17720d14314f1b3bdec3094495cdb260e5b 100644 |
--- a/core/src/fxcrt/fx_basic_bstring.cpp |
+++ b/core/src/fxcrt/fx_basic_bstring.cpp |
@@ -486,9 +486,8 @@ 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 == ' ') { |
Lei Zhang
2016/02/24 01:37:01
negate this and break?
dsinclair
2016/02/24 14:51:08
Done.
|
+ } else { |
break; |
} |
} |