diff options
author | Matthew Hoops | 2009-12-23 05:10:16 +0000 |
---|---|---|
committer | Matthew Hoops | 2009-12-23 05:10:16 +0000 |
commit | 4be2788ffd8b9e8ec8a2ba6080bcd7701bd6c08a (patch) | |
tree | 882921d9d01fd3ac682069b643bd32bdb1a394e0 /engines/sci/engine/segment.h | |
parent | bac7961b3f8f5692fcdd5683866d6e9f935a7ca6 (diff) | |
download | scummvm-rg350-4be2788ffd8b9e8ec8a2ba6080bcd7701bd6c08a.tar.gz scummvm-rg350-4be2788ffd8b9e8ec8a2ba6080bcd7701bd6c08a.tar.bz2 scummvm-rg350-4be2788ffd8b9e8ec8a2ba6080bcd7701bd6c08a.zip |
Some SCI32 (minor) String bug fixes and cleanup.
svn-id: r46492
Diffstat (limited to 'engines/sci/engine/segment.h')
-rw-r--r-- | engines/sci/engine/segment.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/engines/sci/engine/segment.h b/engines/sci/engine/segment.h index a6ffeb773a..44aff9d41c 100644 --- a/engines/sci/engine/segment.h +++ b/engines/sci/engine/segment.h @@ -706,6 +706,7 @@ public: // Check if we never created an array before if (!_data) { + _size = _actualSize = size; _data = newArray; return; } @@ -736,9 +737,6 @@ public: byte getType() { return _type; } uint32 getSize() { return _size; } T *getRawData() { return _data; } - - //Common::String toString(); - //void fromString(Common::String string); protected: int8 _type; |