From f2dca37b22bc629ab68c84dd56c70c51aab73499 Mon Sep 17 00:00:00 2001 From: oliverschmidt Date: Sat, 17 Nov 2007 22:27:09 +0000 Subject: [PATCH] Do not depend on TELNET_CONF_WINDOW_HEIGHT being defined. --- apps/telnet/simpletelnet.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/telnet/simpletelnet.h b/apps/telnet/simpletelnet.h index f38860fd7..e362b1a43 100644 --- a/apps/telnet/simpletelnet.h +++ b/apps/telnet/simpletelnet.h @@ -29,7 +29,7 @@ * * This file is part of the Contiki desktop environment for the C64. * - * $Id: simpletelnet.h,v 1.2 2007/09/29 04:02:06 matsutsuka Exp $ + * $Id: simpletelnet.h,v 1.3 2007/11/17 22:27:09 oliverschmidt Exp $ * */ #ifndef __SIMPLETELNET_H__ @@ -50,7 +50,7 @@ #ifdef TELNET_CONF_TEXTAREA_HEIGHT #define TELNET_TEXTAREA_HEIGHT TELNET_CONF_TEXTAREA_HEIGHT #else /* TELNET_CONF_TEXTAREA_HEIGHT */ -#define TELNET_TEXTAREA_HEIGHT TELNET_CONF_WINDOW_HEIGHT - 7 +#define TELNET_TEXTAREA_HEIGHT TELNET_WINDOW_HEIGHT - 7 #endif /* TELNET_CONF_TEXTAREA_HEIGHT */ #ifdef TELNET_CONF_ENTRY_WIDTH