1
mirror of https://github.com/mpv-player/mpv synced 2024-08-04 14:59:58 +02: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:
reimar 2004-11-13 16:10:32 +00:00
parent d86b87a5b2
commit a989f229c5

View File

@ -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