Mercurial > mplayer.hg
changeset 9714:3ed7400a9e74
Only write title if verbose>0.
author | ranma |
---|---|
date | Fri, 28 Mar 2003 10:08:55 +0000 |
parents | c2ae0eb049dd |
children | 4045eead55f3 |
files | libvo/vo_vesa.c |
diffstat | 1 files changed, 2 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/libvo/vo_vesa.c Fri Mar 28 02:04:45 2003 +0000 +++ b/libvo/vo_vesa.c Fri Mar 28 10:08:55 2003 +0000 @@ -985,11 +985,12 @@ else { clear_screen(); /* Clear screen for stupid BIOSes */ - if(verbose>1) paintBkGnd(); + if(verbose>1) { int x; x = (video_mode_info.XResolution/video_mode_info.XCharSize)/2-strlen(title)/2; if(x < 0) x = 0; + paintBkGnd(); vbeWriteString(x,0,7,title); } }