Fix undefined
This commit is contained in:
@@ -16,7 +16,7 @@
|
||||
#include "cursesd.h"
|
||||
|
||||
static int32_t endwinflag;
|
||||
WINDOW *stdscr;
|
||||
WINDOW *stdscr,*curscr;
|
||||
int32_t ESCDELAY;
|
||||
|
||||
WINDOW *newwin(int32_t nlines,int32_t ncols,int32_t begin_y,int32_t begin_x)
|
||||
|
||||
@@ -263,12 +263,12 @@ int
|
||||
md_hasclreol()
|
||||
{
|
||||
#if defined(clr_eol)
|
||||
#ifdef NCURSES_VERSION
|
||||
/*#ifdef NCURSES_VERSION
|
||||
if (cur_term == NULL)
|
||||
return(0);
|
||||
//if (cur_term->type.Strings == NULL)
|
||||
return(0);
|
||||
#endif
|
||||
#endif*/
|
||||
return((clr_eol != NULL) && (*clr_eol != 0));
|
||||
#elif defined(__PDCURSES__)
|
||||
return(TRUE);
|
||||
|
||||
Reference in New Issue
Block a user