comparison 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
comparison
equal deleted inserted replaced
13927:26d200cbf307 13928:6a0b5d320378
818 get_screen_size(); 818 get_screen_size();
819 if (screen_width > 0) 819 if (screen_width > 0)
820 width = screen_width; 820 width = screen_width;
821 else 821 else
822 width = 80; 822 width = 80;
823 #ifdef WIN32
824 // windows command line is broken (MinGW's rxvt works though, but we
825 // should not depend on that).
826 width--;
827 #endif
823 line = malloc(width + 1); // one additional for terminating null 828 line = malloc(width + 1); // one additional for terminating null
824 829
825 // Audio time 830 // Audio time
826 if (sh_audio) { 831 if (sh_audio) {
827 saddf(line, &pos, width, "A:%6.1f ", a_pos); 832 saddf(line, &pos, width, "A:%6.1f ", a_pos);