Simplify preport()

Return value of ctime() always starts with a capital letter, so
upcasing it is pointless.
This commit is contained in:
Markus Armbruster 2008-07-20 10:51:28 -04:00
parent bd34378900
commit 022b73d8a1

View file

@ -202,8 +202,6 @@ preport(struct nwsstr *np)
sprintf(cp, " %s times", ptr);
cp += strlen(cp);
}
if (*buf >= 'a' && *buf <= 'z')
*buf += 'A' - 'a';
if (cp - buf > 80) {
for (i = 80; --i > 60;)
if (buf[i] == ' ')