From 7a1aa5f659110e99950b00b6b326b41436872635 Mon Sep 17 00:00:00 2001 From: Ryan Harrison Date: Tue, 13 Mar 2018 15:16:00 +0000 Subject: Remove usage of FXSYS_*ASCIIlower/upper methods This replaces them with equivalent FXSYS_*wlower/upper methods, which uses ICU to perform the correct Unicode operations. BUG=pdfium:1035 Change-Id: I432db5bef9eda71762016b619d93155949d054db Reviewed-on: https://pdfium-review.googlesource.com/28530 Reviewed-by: dsinclair Commit-Queue: Ryan Harrison --- fpdfsdk/pwl/cpwl_list_impl.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'fpdfsdk') diff --git a/fpdfsdk/pwl/cpwl_list_impl.cpp b/fpdfsdk/pwl/cpwl_list_impl.cpp index 561ef1b9f9..8795a67bcd 100644 --- a/fpdfsdk/pwl/cpwl_list_impl.cpp +++ b/fpdfsdk/pwl/cpwl_list_impl.cpp @@ -608,8 +608,7 @@ int32_t CPWL_ListCtrl::FindNext(int32_t nIndex, wchar_t nChar) const { nCircleIndex = 0; if (Item* pListItem = m_ListItems[nCircleIndex].get()) { - if (FXSYS_toASCIIupper(pListItem->GetFirstChar()) == - FXSYS_toASCIIupper(nChar)) + if (FXSYS_towupper(pListItem->GetFirstChar()) == FXSYS_towupper(nChar)) return nCircleIndex; } } -- cgit v1.2.3