aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--engines/parallaction/menu.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/parallaction/menu.cpp b/engines/parallaction/menu.cpp
index e5322ae5dc..f3ed307172 100644
--- a/engines/parallaction/menu.cpp
+++ b/engines/parallaction/menu.cpp
@@ -300,7 +300,7 @@ void Menu::selectCharacter() {
StaticCnv v14;
- v14._data0 = (byte*)malloc(33);
+ v14._data0 = (byte*)malloc(BLOCK_WIDTH*BLOCK_HEIGHT);
v14._data2 = v14._data0;
v14._width = BLOCK_WIDTH;
v14._height = BLOCK_HEIGHT;