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

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

version 1.12, 2015/11/03 04:54:07 version 1.13, 2017/05/27 07:55:44
Line 71 
Line 71 
          * the results are somewhat mixed.  Sticking to '#' as           * the results are somewhat mixed.  Sticking to '#' as
          * banner(1) does is more consistent.           * banner(1) does is more consistent.
          */           */
 #ifndef NOHASH_ONLY  
         c = '#';          c = '#';
 #endif  
   
         for (scnwidth = WIDTH; --scnwidth;) {          for (scnwidth = WIDTH; --scnwidth;) {
                 key <<= 1;                  key <<= 1;
Line 133 
Line 131 
                         if (nchrs++ >= PW/(WIDTH+1)-1)                          if (nchrs++ >= PW/(WIDTH+1)-1)
                                 break;                                  break;
                         *strp++ = BACKGND;                          *strp++ = BACKGND;
 #ifdef LPD_CHSET                                /* <sjg> */  
                         *strp++ = BACKGND;  
 #endif  
                 }                  }
                 while (*--strp == BACKGND && strp >= outbuf)                  while (*--strp == BACKGND && strp >= outbuf)
                         ;                          ;

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