aboutsummaryrefslogtreecommitdiff
path: root/engines/sci/gfx
diff options
context:
space:
mode:
Diffstat (limited to 'engines/sci/gfx')
-rw-r--r--engines/sci/gfx/menubar.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/sci/gfx/menubar.cpp b/engines/sci/gfx/menubar.cpp
index 38feace8ca..f0b5b40805 100644
--- a/engines/sci/gfx/menubar.cpp
+++ b/engines/sci/gfx/menubar.cpp
@@ -163,7 +163,7 @@ menubar_add_menu(gfx_state_t *state, menubar_t *menubar, char *title, char *entr
menu_t *menu;
char tracker;
char *left = NULL, *right;
- reg_t left_origin;
+ reg_t left_origin = entries_base;
int string_len = 0;
int tag = 0, c_width, max_width = 0;
int height;