ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/radiance/ray/src/common/xtwind.c
(Generate patch)

Comparing ray/src/common/xtwind.c (file contents):
Revision 1.1 by greg, Thu Feb 2 10:34:43 1989 UTC vs.
Revision 1.3 by greg, Thu Jan 18 23:58:59 1990 UTC

# Line 16 | Line 16 | static char SCCSid[] = "$SunId$ LBL";
16  
17   #include  "xtwind.h"
18  
19 + #ifndef  BSD
20 + #define  bzero(d,n)             (void)memset(d,0,n)
21 + extern char  *memset();
22 + #endif
23 +
24   #define checkcurs(t)            if ((t)->cursor) togglecurs(t)
25  
26   #define restorecurs             checkcurs
# Line 88 | Line 93 | register TEXTWIND  *t;
93          case '\n':
94                  if (t->r >= t->nr - 1)
95                          xt_delete(t, 0);        /* scroll up 1 line */
96 <                else if (t->r < t->nr - 1)
96 >                else
97                          t->r++;
98          /* fall through */
99          case '\r':

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines