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

Diff for /src/usr.bin/mg/display.c between version 1.12 and 1.13

version 1.12, 2002/03/16 04:17:36 version 1.13, 2002/03/27 17:42:37
Line 629 
Line 629 
         LINE    *lp;                    /* pointer to current line */          LINE    *lp;                    /* pointer to current line */
         int     j;                      /* index into line */          int     j;                      /* index into line */
   
           if (ncol < 2)
                   return;
   
         /*          /*
          * calculate what column the left bound should be           * calculate what column the left bound should be
          * (force cursor into middle half of screen)           * (force cursor into middle half of screen)
          */           */
         lbound = curcol - (curcol % (ncol >> 1)) - (ncol >> 2);          lbound = curcol - (curcol % (ncol >> 1)) - (ncol >> 2);
   
         /*          /*
          * scan through the line outputing characters to the virtual screen           * scan through the line outputing characters to the virtual screen
          * once we reach the left edge           * once we reach the left edge

Legend:
Removed from v.1.12  
changed lines
  Added in v.1.13