Remove direct access of ncurses struct

This commit is contained in:
jl777
2019-02-02 08:37:03 -11:00
parent dabceb5d37
commit b319a87bef
2 changed files with 4 additions and 4 deletions

View File

@@ -261,7 +261,7 @@ md_hasclreol()
#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));