summaryrefslogtreecommitdiffstats
path: root/mplayer.c
diff options
context:
space:
mode:
authordiego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2>2008-02-22 06:57:51 +0000
committerdiego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2>2008-02-22 06:57:51 +0000
commitf087f0f503c1c57af6ae51472ee58f1f9458b035 (patch)
tree42e7fc3141ca9d7742c75ac0bead32b4f48a8080 /mplayer.c
parent54b8a250de6cc99ddf81b222deee4850994f088b (diff)
downloadmpv-f087f0f503c1c57af6ae51472ee58f1f9458b035.tar.bz2
mpv-f087f0f503c1c57af6ae51472ee58f1f9458b035.tar.xz
Fix continuous scrolling on OS/2 due to status line updates unless -quiet
option is specified. The problem is similar on Windows, so share the same workaround for both systems. patch by KO Myung-Hun, komh chollian net git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26059 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'mplayer.c')
-rw-r--r--mplayer.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mplayer.c b/mplayer.c
index ea5fae8882..c82c63686d 100644
--- a/mplayer.c
+++ b/mplayer.c
@@ -1207,7 +1207,7 @@ static void print_status(float a_pos, float a_v, float corr)
width = screen_width;
else
width = 80;
-#ifdef WIN32
+#if defined(WIN32) || defined(__OS2__)
/* Windows command line is broken (MinGW's rxvt works, but we
* should not depend on that). */
width--;