# HG changeset patch # User reimar # Date 1100362232 0 # Node ID 6a0b5d3203781320d859bd94fdd0d30e05bc6eec # Parent 26d200cbf307cd1c10c82ea14fef738c4a43c968 fix scrolling status line in windows diff -r 26d200cbf307 -r 6a0b5d320378 mplayer.c --- a/mplayer.c Sat Nov 13 15:12:48 2004 +0000 +++ b/mplayer.c Sat Nov 13 16:10:32 2004 +0000 @@ -820,6 +820,11 @@ 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