summaryrefslogtreecommitdiff
path: root/fpdfsdk/pwl/cpwl_list_impl.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'fpdfsdk/pwl/cpwl_list_impl.cpp')
-rw-r--r--fpdfsdk/pwl/cpwl_list_impl.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/fpdfsdk/pwl/cpwl_list_impl.cpp b/fpdfsdk/pwl/cpwl_list_impl.cpp
index da455d06cb..561ef1b9f9 100644
--- a/fpdfsdk/pwl/cpwl_list_impl.cpp
+++ b/fpdfsdk/pwl/cpwl_list_impl.cpp
@@ -608,7 +608,8 @@ int32_t CPWL_ListCtrl::FindNext(int32_t nIndex, wchar_t nChar) const {
nCircleIndex = 0;
if (Item* pListItem = m_ListItems[nCircleIndex].get()) {
- if (FXSYS_toupper(pListItem->GetFirstChar()) == FXSYS_toupper(nChar))
+ if (FXSYS_toASCIIupper(pListItem->GetFirstChar()) ==
+ FXSYS_toASCIIupper(nChar))
return nCircleIndex;
}
}