From 84f2fddce772fe04052d8b699bef72a50784991e Mon Sep 17 00:00:00 2001 From: Florian Schulze Date: Sun, 17 Feb 2002 14:09:01 +0000 Subject: [PATCH] Cleaned up message definition for menu. --- menu.c | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/menu.c b/menu.c index 0de00e1..6b6381c 100644 --- a/menu.c +++ b/menu.c @@ -1,13 +1,11 @@ #include "globals.h" -#define NUM_MESSAGES 25 - char *menu_background; char menu_pal[768]; char menu_cur_pal[768]; -char message[NUM_MESSAGES][70] = { +char *message[] = { "Jump 'n Bump", "by Brainchild Design in 1998.", "Code by Mattias Brynervall.", @@ -32,9 +30,10 @@ char message[NUM_MESSAGES][70] = { "Mattias Brynervall: matbr656@student.liu.se", "Martin Magnusson: marma102@student.liu.se", "Anders Nilsson: equel@swipnet.se", - " " + "" }; +#define NUM_MESSAGES (sizeof(message)/sizeof(char *)) int menu(void) { -- 2.39.2