From 6fc723c29416ddb8848afdbaa8b6e18b0173f801 Mon Sep 17 00:00:00 2001 From: Dan Lynch Date: Wed, 21 Jun 2006 10:35:46 +0000 Subject: [PATCH] - added doxygen @file header - no longer depends on slk --- src/hci/mucurses/wininit.c | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/src/hci/mucurses/wininit.c b/src/hci/mucurses/wininit.c index 48f3b15a..1bffe2e4 100644 --- a/src/hci/mucurses/wininit.c +++ b/src/hci/mucurses/wininit.c @@ -1,8 +1,10 @@ #include -#include -#include "core.h" -extern struct _softlabelkeys *slks; +/** @file + * + * MuCurses initialisation functions + * + */ /** * Initialise console environment @@ -12,8 +14,8 @@ extern struct _softlabelkeys *slks; WINDOW *initscr ( void ) { /* determine console size */ /* initialise screen */ - stdscr->width = 80; - stdscr->height = ( slks == NULL ? 25 : 24 ); + stdscr->height = LINES; + stdscr->width = COLS; /* set previously unknown window attributes */ /* refresh screen */ return stdscr;