diff options
author | George Hazan <george.hazan@gmail.com> | 2013-11-10 10:33:36 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2013-11-10 10:33:36 +0000 |
commit | 09fba0e6c57fe19189150de73a7a9ad7f3462224 (patch) | |
tree | 82252ae41d6e67956e0ff6a3480b28016292f04b /include/m_string.h | |
parent | 9aeb4475dbf2a03d632033a623183f22389738cf (diff) |
missing method added
git-svn-id: http://svn.miranda-ng.org/main/trunk@6854 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
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;
|