Fix undefined

This commit is contained in:
jl777
2019-02-17 08:10:40 -11:00
parent b95214f57e
commit 2fc487d213
2 changed files with 3 additions and 3 deletions

View File

@@ -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);