mirror of
https://github.com/mpv-player/mpv
synced 2024-10-18 10:25:02 +02:00
corrected previous error ;-(
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2206 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
bfeb215e95
commit
8a1579e344
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user