diff options
author | Filippos Karapetis | 2008-06-09 18:02:09 +0000 |
---|---|---|
committer | Filippos Karapetis | 2008-06-09 18:02:09 +0000 |
commit | a9c93a4be9340fb3b2f667771dac3b64ffa87bff (patch) | |
tree | fd5e46e14833c9ee77665c1e0cc021785006dae4 /engines | |
parent | 339874f6c0934e16ac78c9b79a94b765668409af (diff) | |
download | scummvm-rg350-a9c93a4be9340fb3b2f667771dac3b64ffa87bff.tar.gz scummvm-rg350-a9c93a4be9340fb3b2f667771dac3b64ffa87bff.tar.bz2 scummvm-rg350-a9c93a4be9340fb3b2f667771dac3b64ffa87bff.zip |
Fixed regression from commit #32636, leading to a crash
svn-id: r32638
Diffstat (limited to 'engines')
-rw-r--r-- | engines/drascula/drascula.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/drascula/drascula.cpp b/engines/drascula/drascula.cpp index 0085383ac1..e9a613b2c2 100644 --- a/engines/drascula/drascula.cpp +++ b/engines/drascula/drascula.cpp @@ -958,7 +958,7 @@ char ***DrasculaEngine::loadTexts(Common::File &in) { res[lang] = (char **)malloc(sizeof(char *) * numTexts); pos = (char *)malloc(entryLen); - res[lang][0] = pos + DATAALIGNMENT; + res[lang][0] = pos; in.read(res[lang][0], entryLen); |