diff mplayer.c @ 13928:6a0b5d320378

fix scrolling status line in windows
author reimar
date Sat, 13 Nov 2004 16:10:32 +0000
parents db2f1e657dfe
children e632b43f0598
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