[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.7 and 1.8

version 1.7, 2002/02/14 14:24:21 version 1.8, 2002/05/30 16:07:57
Line 246 
Line 246 
   
         col = curwp->w_doto;          col = curwp->w_doto;
   
         while (((c = lgetc(curwp->w_dotp, col)) == ' ' || c == '\t') &&          while (col < llength(curwp->w_dotp) &&
             col < llength(curwp->w_dotp))              ((c = lgetc(curwp->w_dotp, col)) == ' ' || c == '\t'))
                 ++col;                  ++col;
         do {          do {
                 if (curwp->w_doto == 0) {                  if (curwp->w_doto == 0) {

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