diff options
Diffstat (limited to 'xfa/fde')
-rw-r--r-- | xfa/fde/css/cfde_cssdeclaration.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xfa/fde/css/cfde_cssdeclaration.cpp b/xfa/fde/css/cfde_cssdeclaration.cpp index 4de8cb74f0..4179e61f5d 100644 --- a/xfa/fde/css/cfde_cssdeclaration.cpp +++ b/xfa/fde/css/cfde_cssdeclaration.cpp @@ -20,7 +20,7 @@ namespace { uint8_t Hex2Dec(uint8_t hexHigh, uint8_t hexLow) { - return (FXSYS_toHexDigit(hexHigh) << 4) + FXSYS_toHexDigit(hexLow); + return (FXSYS_HexCharToInt(hexHigh) << 4) + FXSYS_HexCharToInt(hexLow); } bool ParseCSSNumber(const wchar_t* pszValue, |