mirror of
https://github.com/scummvm/scummvm.git
synced 2026-06-20 05:45:29 +00:00
LAB: Fix bug in getText()
This commit is contained in:
committed by
Willem Jan Palenstijn
parent
d50e9f3541
commit
b7faa0bccf
@@ -86,7 +86,7 @@ char *Resource::getText(const char *fileName) {
|
||||
|
||||
g_lab->_music->updateMusic();
|
||||
|
||||
byte count = dataFile->size();
|
||||
uint32 count = dataFile->size();
|
||||
byte *buffer = new byte[count];
|
||||
byte *text = buffer;
|
||||
dataFile->read(buffer, count);
|
||||
|
||||
Reference in New Issue
Block a user