[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.17 and 1.18

version 1.17, 2002/08/22 23:28:19 version 1.18, 2002/08/29 22:45:22
Line 486 
Line 486 
 #ifdef  NOTAB  #ifdef  NOTAB
                     && !(curbp->b_flag & BFNOTAB)                      && !(curbp->b_flag & BFNOTAB)
 #endif  #endif
                         )                          ) {
                         curcol |= 0x07;                          curcol |= 0x07;
                 else if (ISCTRL(c) != FALSE)                          curcol++;
                         ++curcol;                  } else if (ISCTRL(c) != FALSE)
                 ++curcol;                          curcol += 2;
                   else if (isprint(c))
                           curcol++;
                   else {
                           char bf[5];
   
                           snprintf(bf, sizeof bf, "\\%o", c);
                           curcol += strlen(bf);
                   }
         }          }
         if (curcol >= ncol - 1) {       /* extended line. */          if (curcol >= ncol - 1) {       /* extended line. */
                 /* flag we are extended and changed */                  /* flag we are extended and changed */

Legend:
Removed from v.1.17  
changed lines
  Added in v.1.18