summaryrefslogtreecommitdiffstats
path: root/mplayer.c
diff options
context:
space:
mode:
Diffstat (limited to 'mplayer.c')
-rw-r--r--mplayer.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/mplayer.c b/mplayer.c
index b5c446a177..8b91bcd2f6 100644
--- a/mplayer.c
+++ b/mplayer.c
@@ -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