diff options
Diffstat (limited to 'win32/ScintillaWin.cxx')
-rw-r--r-- | win32/ScintillaWin.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/win32/ScintillaWin.cxx b/win32/ScintillaWin.cxx index 8779a3c20..19194a8bb 100644 --- a/win32/ScintillaWin.cxx +++ b/win32/ScintillaWin.cxx @@ -2357,7 +2357,7 @@ public: for (size_t mixIndex=0; mixIndex < nUtf16Mixed; mixIndex++) { if ((lenFlat + 20) > utf16Folded.size()) utf16Folded.resize(lenFlat + 60); - const char *foldedUTF8 = CaseConvert(utf16Mixed[mixIndex], CaseConversionFold); + const char *foldedUTF8 = CaseConvert(utf16Mixed[mixIndex], CaseConversion::fold); if (foldedUTF8) { // Maximum length of a case conversion is 6 bytes, 3 characters wchar_t wFolded[20]; @@ -2399,7 +2399,7 @@ std::unique_ptr<CaseFolder> ScintillaWin::CaseFolderForEncoding() { const unsigned int lengthUTF16 = WideCharFromMultiByte(cpDest, sCharacter, wCharacter, std::size(wCharacter)); if (lengthUTF16 == 1) { - const char *caseFolded = CaseConvert(wCharacter[0], CaseConversionFold); + const char *caseFolded = CaseConvert(wCharacter[0], CaseConversion::fold); if (caseFolded) { wchar_t wLower[20]; const size_t charsConverted = UTF16FromUTF8(std::string_view(caseFolded), @@ -2429,7 +2429,7 @@ std::string ScintillaWin::CaseMapString(const std::string &s, CaseMapping caseMa const UINT cpDoc = CodePageOfDocument(); if (cpDoc == SC_CP_UTF8) { - return CaseConvertString(s, (caseMapping == CaseMapping::upper) ? CaseConversionUpper : CaseConversionLower); + return CaseConvertString(s, (caseMapping == CaseMapping::upper) ? CaseConversion::upper : CaseConversion::lower); } // Change text to UTF-16 |