From 7669fd8724a08d382a73d102c63d4169524bf480 Mon Sep 17 00:00:00 2001 From: oliverschmidt Date: Fri, 30 Nov 2007 21:50:09 +0000 Subject: [PATCH] Enhanced CTK_CONF_MENUS support. --- core/ctk/ctk-conio.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/core/ctk/ctk-conio.c b/core/ctk/ctk-conio.c index 98f5abbf0..98fe8324a 100644 --- a/core/ctk/ctk-conio.c +++ b/core/ctk/ctk-conio.c @@ -29,7 +29,7 @@ * * This file is part of the "ctk" console GUI toolkit for cc65 * - * $Id: ctk-conio.c,v 1.5 2007/11/18 01:49:48 oliverschmidt Exp $ + * $Id: ctk-conio.c,v 1.6 2007/11/30 21:50:09 oliverschmidt Exp $ * */ @@ -438,6 +438,7 @@ ctk_draw_clear(unsigned char y1, unsigned char y2) } } /*-----------------------------------------------------------------------------------*/ +#if CTK_CONF_MENUS static void draw_menu(struct ctk_menu *m, unsigned char open) { @@ -504,6 +505,7 @@ ctk_draw_menus(struct ctk_menus *menus) revers(0); } +#endif /* CTK_CONF_MENUS */ /*-----------------------------------------------------------------------------------*/ unsigned char ctk_draw_height(void)