summaryrefslogtreecommitdiff
path: root/storage/connect/xobject.h
diff options
context:
space:
mode:
Diffstat (limited to 'storage/connect/xobject.h')
-rw-r--r--storage/connect/xobject.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/storage/connect/xobject.h b/storage/connect/xobject.h
index bc5912d3054..5b50e9320f5 100644
--- a/storage/connect/xobject.h
+++ b/storage/connect/xobject.h
@@ -130,6 +130,7 @@ class DllExport STRING : public BLOCK {
inline void SetLength(uint n) {Length = n;}
inline PSZ GetStr(void) {return Strp;}
inline uint32 GetSize(void) {return Size;}
+ inline char GetLastChar(void) {return Length ? Strp[Length - 1] : 0;}
inline bool IsTruncated(void) {return Trc;}
// Methods