diff options
author | Torbjörn Andersson | 2013-04-30 22:26:51 +0200 |
---|---|---|
committer | Torbjörn Andersson | 2013-04-30 22:26:51 +0200 |
commit | 2284aba71979192d18bf147a18bee807a9f31ea2 (patch) | |
tree | b6d6ee60bf37fc89fe21cda3844b2dd880d58088 /gui/dialog.h | |
parent | 6936f830ea397bb29ca6ef58e983e33c9467af2d (diff) | |
download | scummvm-rg350-2284aba71979192d18bf147a18bee807a9f31ea2.tar.gz scummvm-rg350-2284aba71979192d18bf147a18bee807a9f31ea2.tar.bz2 scummvm-rg350-2284aba71979192d18bf147a18bee807a9f31ea2.zip |
SCUMM: Use correct array size when calling initializeLocals()
The initializeLocals() function assumes that it can copy 25
elements when being provided an array of values. But this array
was frequently a lot smaller than that. I've introduced a constant
for the number of locals (though VirtualMachineState has one more
for some reason), and fixed the array sizes in a number of places.
CID 1003951, 1003952, 1003953, 1003955, 1003956, 1003959, 1003960,
1003961, 1003963, 100394, 1003965
Diffstat (limited to 'gui/dialog.h')
0 files changed, 0 insertions, 0 deletions