Browse Source

Fix undefined

metaverse
jl777 5 years ago
parent
commit
2fc487d213
  1. 2
      src/cc/rogue/cursesd.c
  2. 4
      src/cc/rogue/mdport.c

2
src/cc/rogue/cursesd.c

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

4
src/cc/rogue/mdport.c

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

Loading…
Cancel
Save