summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--chromium/third_party/pdfium/core/fxcrt/fx_string.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/chromium/third_party/pdfium/core/fxcrt/fx_string.cpp b/chromium/third_party/pdfium/core/fxcrt/fx_string.cpp
index cb7465ef780..298253d2b74 100644
--- a/chromium/third_party/pdfium/core/fxcrt/fx_string.cpp
+++ b/chromium/third_party/pdfium/core/fxcrt/fx_string.cpp
@@ -72,7 +72,7 @@ float StringToFloat(ByteStringView strc) {
cc++;
}
int scale = 0;
- if (cc < len && strc[cc] == '.') {
+ if (cc < len) {
cc++;
while (cc < len) {
value += FractionalScale(scale, FXSYS_DecimalCharToInt(strc.CharAt(cc)));