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 int
md_hasclreol() md_hasclreol()
{ {
#if defined(clr_eol) /*#if defined(clr_eol)
/*#ifdef NCURSES_VERSION #ifdef NCURSES_VERSION
if (cur_term == NULL) if (cur_term == NULL)
return(0); return(0);
//if (cur_term->type.Strings == NULL) //if (cur_term->type.Strings == NULL)
return(0); return(0);
#endif*/ #endif
return((clr_eol != NULL) && (*clr_eol != 0)); return((clr_eol != NULL) && (*clr_eol != 0));
#elif defined(__PDCURSES__) #elif defined(__PDCURSES__)
return(TRUE); return(TRUE);
#else #else
return((CE != NULL) && (*CE != 0)); return((CE != NULL) && (*CE != 0));
#endif #endif*/
return(0);
} }
void void