mirror of
https://github.com/mpv-player/mpv
synced 2025-03-11 08:37:59 +00:00
fix scrolling status line in windows
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@13929 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
d86b87a5b2
commit
a989f229c5
@ -820,6 +820,11 @@ static void print_status(float a_pos, float a_v, float corr)
|
||||
width = screen_width;
|
||||
else
|
||||
width = 80;
|
||||
#ifdef WIN32
|
||||
// windows command line is broken (MinGW's rxvt works though, but we
|
||||
// should not depend on that).
|
||||
width--;
|
||||
#endif
|
||||
line = malloc(width + 1); // one additional for terminating null
|
||||
|
||||
// Audio time
|
||||
|
Loading…
Reference in New Issue
Block a user