home bbs chatroom files | messages | login ]

      FFIDOS91             FIDOSOFT.HUSKY             4489 messages      

[ list messages | list forums | previous | next ]

  Msg # 4397 of 4489 on FFIDOS91, Wednesday 3-31-15, 10:58  
  From: ANDREW CLARKE  
  To: ALL  
  Subj: Two trivial htick patches  
  01 Apr 15 13:42, I wrote to all:  
    
   ac> + if (fileCountTotal > 1)  
   ac> + {  
   ac> + xscatprintf(&(msg->text), "\\r %s\\r", print_ch(77, '='));  
   ac> + xscatprintf(&(msg->text), ">Total %u bytes in %u  
   ac> file%s\\r\\r",  
   ac> + fileSizeTotal, fileCountTotal, fileCountTotal == 1 ? ""  
   ac> : "s");  
   ac> + }  
    
  Ironically the fileCountTotal == 1 check here that I added in the first  
  patch  
  can never be true in the second patch. Any self-respecting C compiler will  
  optimise that out, though.  
    
  --- GoldED+/BSD 1.1.5-b20130910  
   * Origin: Blizzard of Ozz, Melbourne, Victoria, Australia (3:633/267)  

[ list messages | list forums | previous | next ]

352,367 visits
(c) 1994,  bbs@darkrealms.ca