changeset 13928:6a0b5d320378

fix scrolling status line in windows
author reimar
date Sat, 13 Nov 2004 16:10:32 +0000
parents 26d200cbf307
children bfaca342e3c4
files mplayer.c
diffstat 1 files changed, 5 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- 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