This commit is contained in:
jl777
2019-02-17 08:16:52 -11:00
parent 2fc487d213
commit 54c7943a38

View File

@@ -262,19 +262,20 @@ md_onsignal_autosave()
int
md_hasclreol()
{
#if defined(clr_eol)
/*#ifdef NCURSES_VERSION
/*#if defined(clr_eol)
#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);
#else
return((CE != NULL) && (*CE != 0));
#endif
#endif*/
return(0);
}
void