diff options
author | Gregory Montoir | 2004-01-19 22:31:21 +0000 |
---|---|---|
committer | Gregory Montoir | 2004-01-19 22:31:21 +0000 |
commit | 95891f95c728cdcf8bbd66d42a4c2b08c735b4fc (patch) | |
tree | 262095890794d6b528fa55f6c23a071156475b97 /queen/resource.h | |
parent | 392940e7dd396c932dfba946642f0e567f656dc9 (diff) | |
download | scummvm-rg350-95891f95c728cdcf8bbd66d42a4c2b08c735b4fc.tar.gz scummvm-rg350-95891f95c728cdcf8bbd66d42a4c2b08c735b4fc.tar.bz2 scummvm-rg350-95891f95c728cdcf8bbd66d42a4c2b08c735b4fc.zip |
*temporary* fix for LineReader to handle files not terminated by an empty string (*.crd)
svn-id: r12527
Diffstat (limited to 'queen/resource.h')
-rw-r--r-- | queen/resource.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/queen/resource.h b/queen/resource.h index 59f50885ef..1e97444463 100644 --- a/queen/resource.h +++ b/queen/resource.h @@ -64,12 +64,13 @@ struct GameVersion { class LineReader { public: - LineReader(char *buffer); + LineReader(char *buffer, uint32 bufsize); ~LineReader(); - char* nextLine(); + char *nextLine(); private: char *_buffer; + uint32 _bufSize; int _current; }; |