[BACK]Return to display.c CVS log [TXT][DIR] Up to [local] / src / usr.bin / talk

Diff for /src/usr.bin/talk/display.c between version 1.7 and 1.8

version 1.7, 2000/12/30 06:27:48 version 1.8, 2000/12/31 00:24:51
Line 52 
Line 52 
 xwin_t  his_win;  xwin_t  his_win;
 WINDOW  *line_win;  WINDOW  *line_win;
   
 #undef isprint  
 #define isprint(n) ((unsigned char)(n)>31)  
   
 int     curses_initialized = 0;  int     curses_initialized = 0;
   int     high_print = 0;
   
 /*  /*
  * max HAS to be a function, it is called with   * max HAS to be a function, it is called with
Line 152 
Line 150 
                         /* check for wraparound */                          /* check for wraparound */
                         xscroll(win, 0);                          xscroll(win, 0);
                 }                  }
                 if (!isprint(*text) && *text != '\t') {                  if (*text != '\t' &&
                       ((!high_print && !isprint(*text)) || iscntrl(*text))) {
                         waddch(win->x_win, '^');                          waddch(win->x_win, '^');
                         getyx(win->x_win, win->x_line, win->x_col);                          getyx(win->x_win, win->x_line, win->x_col);
                         if (win->x_col == COLS-1) /* check for wraparound */                          if (win->x_col == COLS-1) /* check for wraparound */

Legend:
Removed from v.1.7  
changed lines
  Added in v.1.8