Mercurial > mplayer.hg
diff libvo/vo_caca.c @ 24032:144162149176
Fix likely mistake when using char*.
author | cehoyos |
---|---|
date | Mon, 13 Aug 2007 08:32:47 +0000 |
parents | 98eaf29b5dee |
children | 7e2808fb1807 |
line wrap: on
line diff
--- a/libvo/vo_caca.c Mon Aug 13 08:30:53 2007 +0000 +++ b/libvo/vo_caca.c Mon Aug 13 08:32:47 2007 +0000 @@ -177,12 +177,12 @@ if (time(NULL) >= stoposd) { showosdmessage = 0; - if (posbar) + if (*posbar) posbar[0] = '\0'; } else { caca_putstr(osdx, osdy, osdmessagetext); - if (posbar) + if (*posbar) caca_putstr(0, posbary, posbar); } }