From 9f9b24ae9bc0ae771454732868cdb136fe995e42 Mon Sep 17 00:00:00 2001 From: Neil Date: Mon, 5 Apr 2021 15:48:13 +1000 Subject: Change CaseConversion to an enum class. --- qt/ScintillaEditBase/ScintillaQt.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'qt') diff --git a/qt/ScintillaEditBase/ScintillaQt.cpp b/qt/ScintillaEditBase/ScintillaQt.cpp index bb6dad410..aad1da231 100644 --- a/qt/ScintillaEditBase/ScintillaQt.cpp +++ b/qt/ScintillaEditBase/ScintillaQt.cpp @@ -619,7 +619,7 @@ std::string ScintillaQt::CaseMapString(const std::string &s, CaseMapping caseMap if (IsUnicodeMode()) { std::string retMapped(s.length() * maxExpansionCaseConversion, 0); size_t lenMapped = CaseConvertString(&retMapped[0], retMapped.length(), s.c_str(), s.length(), - (caseMapping == CaseMapping::upper) ? CaseConversionUpper : CaseConversionLower); + (caseMapping == CaseMapping::upper) ? CaseConversion::upper : CaseConversion::lower); retMapped.resize(lenMapped); return retMapped; } -- cgit v1.2.3