From e6136f255d5940b50161dd6221eb47db0b317e41 Mon Sep 17 00:00:00 2001 From: ranma Date: Fri, 28 Mar 2003 10:08:55 +0000 Subject: Only write title if verbose>0. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9715 b3059339-0415-0410-9bf9-f77b7e298cf2 --- libvo/vo_vesa.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'libvo/vo_vesa.c') diff --git a/libvo/vo_vesa.c b/libvo/vo_vesa.c index 175e2dcea8..65d326bd15 100644 --- a/libvo/vo_vesa.c +++ b/libvo/vo_vesa.c @@ -985,11 +985,12 @@ config(uint32_t width, uint32_t height, uint32_t d_width, uint32_t d_height, uin 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); } } -- cgit v1.2.3