[BACK]Return to erase.c CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / src / lib / libcurses

Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.

Diff for /src/lib/libcurses/erase.c between version 1.34 and 1.35

version 1.34, 2022/01/25 03:05:06 version 1.35, 2022/04/12 07:03:04
Line 70  werase(WINDOW *win)
Line 70  werase(WINDOW *win)
         attr_t  battr;          attr_t  battr;
   
         __CTRACE(__CTRACE_ERASE, "werase: (%p)\n", win);          __CTRACE(__CTRACE_ERASE, "werase: (%p)\n", win);
 #ifdef HAVE_WCHAR  
         bch = (wchar_t)btowc((int)win->bch);  
 #else  
         bch = win->bch;          bch = win->bch;
 #endif  
         if (win != curscr)          if (win != curscr)
                 battr = win->battr & __ATTRIBUTES;                  battr = win->battr & __ATTRIBUTES;
         else          else
Line 101  werase(WINDOW *win)
Line 98  werase(WINDOW *win)
          * Mark the whole window as changed in case we have overlapping           * Mark the whole window as changed in case we have overlapping
          * windows - this will result in the (intended) clearing of the           * windows - this will result in the (intended) clearing of the
          * screen over the area covered by the window. */           * screen over the area covered by the window. */
         __touchwin(win);          __touchwin(win, 0);
         wmove(win, 0, 0);          wmove(win, 0, 0);
         return OK;          return OK;
 }  }

Legend:
Removed from v.1.34  
changed lines
  Added in v.1.35

CVSweb <webmaster@jp.NetBSD.org>