[MPlayer-cvslog] CVS: main mplayer.c,1.809,1.810

Reimar Döffinger CVS syncmail at mplayerhq.hu
Sat Nov 13 17:10:35 CET 2004


CVS change done by Reimar Döffinger CVS

Update of /cvsroot/mplayer/main
In directory mail:/var2/tmp/cvs-serv19664

Modified Files:
	mplayer.c 
Log Message:
fix scrolling status line in windows


Index: mplayer.c
===================================================================
RCS file: /cvsroot/mplayer/main/mplayer.c,v
retrieving revision 1.809
retrieving revision 1.810
diff -u -r1.809 -r1.810
--- mplayer.c	9 Nov 2004 20:09:26 -0000	1.809
+++ mplayer.c	13 Nov 2004 16:10:32 -0000	1.810
@@ -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




More information about the MPlayer-cvslog mailing list