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

Diff for /src/usr.bin/mg/Attic/random.c between version 1.14 and 1.15

version 1.14, 2005/11/18 19:04:09 version 1.15, 2005/11/18 20:56:53
Line 24 
Line 24 
 int  int
 showcpos(int f, int n)  showcpos(int f, int n)
 {  {
         LINE    *clp;          struct line     *clp;
         long     nchar, cchar;          long     nchar, cchar;
         int      nline, row;          int      nline, row;
         int      cline, cbyte;          /* Current line/char/byte */          int      cline, cbyte;          /* Current line/char/byte */
Line 114 
Line 114 
 int  int
 twiddle(int f, int n)  twiddle(int f, int n)
 {  {
         LINE    *dotp;          struct line     *dotp;
         int      doto, cr;          int      doto, cr;
   
         dotp = curwp->w_dotp;          dotp = curwp->w_dotp;
Line 170 
Line 170 
 int  int
 newline(int f, int n)  newline(int f, int n)
 {  {
         LINE    *lp;          struct line     *lp;
         int      s;          int      s;
   
         if (n < 0)          if (n < 0)
Line 196 
Line 196 
 int  int
 deblank(int f, int n)  deblank(int f, int n)
 {  {
         LINE    *lp1, *lp2;          struct line     *lp1, *lp2;
         RSIZE    nld;          RSIZE    nld;
   
         lp1 = curwp->w_dotp;          lp1 = curwp->w_dotp;
Line 352 
Line 352 
 int  int
 killline(int f, int n)  killline(int f, int n)
 {  {
         LINE    *nextp;          struct line     *nextp;
         RSIZE    chunk;          RSIZE    chunk;
         int      i, c;          int      i, c;
   
Line 415 
Line 415 
 int  int
 yank(int f, int n)  yank(int f, int n)
 {  {
         LINE    *lp;          struct line     *lp;
         int      c, i, nline;          int      c, i, nline;
   
         if (n < 0)          if (n < 0)

Legend:
Removed from v.1.14  
changed lines
  Added in v.1.15