Mercurial > mplayer.hg
comparison mplayer.c @ 26027:21ffd4958ab5
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
author | diego |
---|---|
date | Fri, 22 Feb 2008 06:57:51 +0000 |
parents | 528bdf17dd8a |
children | 2cb4aabb7dd8 |
comparison
equal
deleted
inserted
replaced
26026:a1e19c442cab | 26027:21ffd4958ab5 |
---|---|
1205 get_screen_size(); | 1205 get_screen_size(); |
1206 if (screen_width > 0) | 1206 if (screen_width > 0) |
1207 width = screen_width; | 1207 width = screen_width; |
1208 else | 1208 else |
1209 width = 80; | 1209 width = 80; |
1210 #ifdef WIN32 | 1210 #if defined(WIN32) || defined(__OS2__) |
1211 /* Windows command line is broken (MinGW's rxvt works, but we | 1211 /* Windows command line is broken (MinGW's rxvt works, but we |
1212 * should not depend on that). */ | 1212 * should not depend on that). */ |
1213 width--; | 1213 width--; |
1214 #endif | 1214 #endif |
1215 line = malloc(width + 1); // one additional char for the terminating null | 1215 line = malloc(width + 1); // one additional char for the terminating null |