summaryrefslogtreecommitdiff
path: root/core/fxcrt/cfx_chariter.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'core/fxcrt/cfx_chariter.cpp')
-rw-r--r--core/fxcrt/cfx_chariter.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/fxcrt/cfx_chariter.cpp b/core/fxcrt/cfx_chariter.cpp
index b726a7e484..d26dd2df8f 100644
--- a/core/fxcrt/cfx_chariter.cpp
+++ b/core/fxcrt/cfx_chariter.cpp
@@ -29,7 +29,7 @@ bool CFX_CharIter::Next(bool bPrev) {
}
wchar_t CFX_CharIter::GetChar() {
- return m_wsText.GetAt(m_nIndex);
+ return m_wsText[m_nIndex];
}
void CFX_CharIter::SetAt(int32_t nIndex) {