2
0
mirror of https://github.com/xcat2/xNBA.git synced 2024-12-14 07:11:32 +00:00

Clear message on alert row before printing new one

This commit is contained in:
Michael Brown 2006-12-20 05:03:55 +00:00
parent b93ff48173
commit e4f489636f

View File

@ -253,6 +253,7 @@ static void clearmsg ( unsigned int row ) {
* @v args printf() argument list
*/
static void valert ( const char *fmt, va_list args ) {
clearmsg ( ALERT_ROW );
color_set ( CPAIR_ALERT, NULL );
vmsg ( ALERT_ROW, fmt, args );
sleep ( 2 );