| TIP: Click on subject to list as thread! | ANSI |
| echo: | |
|---|---|
| to: | |
| from: | |
| date: | |
| subject: | 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)SEEN-BY: 633/267 712/848 @PATH: 633/267 |
|
| SOURCE: echomail via fidonet.ozzmosis.com | |
Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.