summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/main-menu.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/main-menu.c b/src/main-menu.c
index d934ec4..5909e51 100644
--- a/src/main-menu.c
+++ b/src/main-menu.c
@@ -249,6 +249,8 @@ db_main_menu(void)
buttons[i + 2]->user_data = games[i];
}
if (n > 0) {
+ buttons[2]->u = NULL;
+ buttons[n + 1]->d = NULL;
buttons[i + 1]->n = buttons[0];
}