diff options
Diffstat (limited to 'src/LargeFileStream.cpp')
| -rw-r--r-- | src/LargeFileStream.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/LargeFileStream.cpp b/src/LargeFileStream.cpp index 3ae1ce2..099c013 100644 --- a/src/LargeFileStream.cpp +++ b/src/LargeFileStream.cpp @@ -37,8 +37,9 @@ char LargeFileStream::operator[](loctype loc) { if (use_string) { if (loc >= content.size()) { eof = true; + return ('?'); } - return ('?'); + return (content[loc]); } // Goto the right memory chuck |
