corrected previous error ;-(

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2206 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
atlka 2001-10-15 08:16:54 +00:00
parent bfeb215e95
commit 8a1579e344
1 changed files with 2 additions and 1 deletions

View File

@ -185,6 +185,7 @@ inline static void vo_draw_text_sub(int dxs,int dys,void (*draw_alpha)(int x0,in
}
if (k==MAX_UCS){
len=j; // end here
printf ("\nMAX_UCS exceeded!\n");
}
if (!c) c++; // avoid UCS 0
if (c==' '){
@ -211,7 +212,7 @@ inline static void vo_draw_text_sub(int dxs,int dys,void (*draw_alpha)(int x0,in
} else if (j<len)
continue;
if (h>memy){ // out of the screen so end parsing
h -=lasth - vo_font->height; // correct the y position
memy -= lasth - vo_font->height; // correct the y position
l=0;
break;
}