summaryrefslogtreecommitdiff
path: root/core/fxcrt/bytestring.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'core/fxcrt/bytestring.cpp')
-rw-r--r--core/fxcrt/bytestring.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/core/fxcrt/bytestring.cpp b/core/fxcrt/bytestring.cpp
index 2ab1379974..2a57602692 100644
--- a/core/fxcrt/bytestring.cpp
+++ b/core/fxcrt/bytestring.cpp
@@ -344,8 +344,8 @@ bool ByteString::EqualNoCase(const ByteStringView& str) const {
const uint8_t* pThat = str.raw_str();
for (size_t i = 0; i < len; i++) {
if ((*pThis) != (*pThat)) {
- uint8_t bThis = FXSYS_tolower(*pThis);
- uint8_t bThat = FXSYS_tolower(*pThat);
+ uint8_t bThis = FXSYS_toASCIIlower(*pThis);
+ uint8_t bThat = FXSYS_toASCIIlower(*pThat);
if (bThis != bThat)
return false;
}