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

Diff for /src/usr.bin/tip/Attic/cmds.c between version 1.13 and 1.14

version 1.13, 2001/10/24 18:38:58 version 1.14, 2002/05/07 06:56:50
Line 38 
Line 38 
 #if 0  #if 0
 static char sccsid[] = "@(#)cmds.c      8.1 (Berkeley) 6/6/93";  static char sccsid[] = "@(#)cmds.c      8.1 (Berkeley) 6/6/93";
 #endif  #endif
 static char rcsid[] = "$OpenBSD$";  static const char rcsid[] = "$OpenBSD$";
 #endif /* not lint */  #endif /* not lint */
   
 #include "tip.h"  #include "tip.h"
Line 735 
Line 735 
         }          }
         printf("%s", s);          printf("%s", s);
         while (--i >= 0)          while (--i >= 0)
                 if (nums[i] || i == 0 && nums[1] == 0 && nums[2] == 0)                  if (nums[i] || (i == 0 && nums[1] == 0 && nums[2] == 0))
                         printf("%d %s%c ", nums[i], sep[i],                          printf("%d %s%c ", nums[i], sep[i],
                                 nums[i] == 1 ? '\0' : 's');                                  nums[i] == 1 ? '\0' : 's');
         printf("\r\n!\r\n");          printf("\r\n!\r\n");

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