LAB: Fix bug in getText()
This commit is contained in:
parent
d50e9f3541
commit
b7faa0bccf
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue