Index: core/fxcrt/include/fx_string.h |
diff --git a/core/fxcrt/include/fx_string.h b/core/fxcrt/include/fx_string.h |
index fbfb91f759620264b485c37756066299ddf25788..8db84dd2478f0d03cb0c90d3061600c698d8e615 100644 |
--- a/core/fxcrt/include/fx_string.h |
+++ b/core/fxcrt/include/fx_string.h |
@@ -99,6 +99,9 @@ class CFX_ByteStringC { |
bool IsEmpty() const { return m_Length == 0; } |
uint8_t GetAt(FX_STRSIZE index) const { return m_Ptr[index]; } |
+ FX_CHAR CharAt(FX_STRSIZE index) const { |
+ return static_cast<FX_CHAR>(m_Ptr[index]); |
+ } |
FX_STRSIZE Find(FX_CHAR ch) const { |
const uint8_t* found = |