mirror of https://github.com/mpv-player/mpv
Only write title if verbose>0.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9715 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
b894d870ab
commit
e6136f255d
|
@ -985,11 +985,12 @@ config(uint32_t width, uint32_t height, uint32_t d_width, uint32_t d_height, uin
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
clear_screen(); /* Clear screen for stupid BIOSes */
|
clear_screen(); /* Clear screen for stupid BIOSes */
|
||||||
if(verbose>1) paintBkGnd();
|
if(verbose>1)
|
||||||
{
|
{
|
||||||
int x;
|
int x;
|
||||||
x = (video_mode_info.XResolution/video_mode_info.XCharSize)/2-strlen(title)/2;
|
x = (video_mode_info.XResolution/video_mode_info.XCharSize)/2-strlen(title)/2;
|
||||||
if(x < 0) x = 0;
|
if(x < 0) x = 0;
|
||||||
|
paintBkGnd();
|
||||||
vbeWriteString(x,0,7,title);
|
vbeWriteString(x,0,7,title);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue