git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7981 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
albeu 2002-10-30 17:51:13 +00:00
parent 2b84c7c654
commit 89562c1e3d
1 changed files with 4 additions and 2 deletions

View File

@ -834,8 +834,10 @@ static void vt_set_textarea(int u, int l)
if (verbose > 1)
printf(FBDEV "vt_set_textarea(%d,%d): %d,%d\n", u, l, urow, lrow);
fprintf(vt_fp, "\33[%d;%dr\33[%d;%dH", urow, lrow, lrow, 0);
fflush(vt_fp);
if(vt_fp) {
fprintf(vt_fp, "\33[%d;%dr\33[%d;%dH", urow, lrow, lrow, 0);
fflush(vt_fp);
}
}
static uint32_t config(uint32_t width, uint32_t height, uint32_t d_width,