From f51a6a6807764ac95b41522fa2a24ad57fa7b455 Mon Sep 17 00:00:00 2001 From: oliverschmidt Date: Sat, 15 Dec 2007 21:04:51 +0000 Subject: [PATCH] Have ctk (at least on conio) work correctly without menus. --- apps/directory/directory.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/directory/directory.c b/apps/directory/directory.c index 99b1dd70a..612cb0de5 100644 --- a/apps/directory/directory.c +++ b/apps/directory/directory.c @@ -29,7 +29,7 @@ * * This file is part of the Contiki desktop environment * - * $Id: directory.c,v 1.3 2006/10/06 20:48:12 oliverschmidt Exp $ + * $Id: directory.c,v 1.4 2007/12/15 21:04:51 oliverschmidt Exp $ * */ @@ -226,7 +226,7 @@ PROCESS_THREAD(directory_process, ev, data) PROCESS_BEGIN(); width = ctk_draw_width() - 2; - height = ctk_draw_height() - 3; + height = ctk_draw_height() - 2 - CTK_CONF_MENUS; ctk_window_new(&window, width, height, "Directory");