diff options
Diffstat (limited to 'include/m_string.h')
-rw-r--r-- | include/m_string.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/include/m_string.h b/include/m_string.h index 2a883f6c39..c8b774ec85 100644 --- a/include/m_string.h +++ b/include/m_string.h @@ -315,11 +315,14 @@ public: {
return GetData()->nDataLength;
}
-
PCXSTR GetString() const
{
return m_pszData;
}
+ PCXSTR GetTail() const
+ {
+ return m_pszData + GetData()->nDataLength;
+ }
bool IsEmpty() const
{
return GetLength() == 0;
|