$Log$
+ Revision 601.16 2002/10/02 04:07:27 error
+ * status_line() now shows "new mail" only when there is new mail
+
Revision 601.15 2002/10/01 04:00:13 ajc
* html.c: speed improvement in html-to-ascii converter
* messages.c: MASSIVE speed improvement in message output
Fri Jul 10 1998 Art Cancro <ajc@uncensored.citadel.org>
* Initial CVS import
-
sln_printf("%s on ", room_name);
if (humannode)
sln_printf("%s ", humannode);
- if (newmailcount > -1) {
+ if (newmailcount > 0) {
waddch(statuswindow, ACS_VLINE);
- sln_printf(" Mail: %d new ", newmailcount);
+ sln_printf(" %d new mail ", newmailcount);
}
sln_printf("\n");
}
int scr_getc(int delay)
{
- char buf;
+ unsigned char buf;
#ifdef HAVE_CURSES_H
if (mainwindow) {
}
#endif
- buf = '\0';
- read (0, &buf, 1);
+ buf = '\0';
+ read (0, &buf, 1);
return buf;
}