mirror of
https://github.com/mpv-player/mpv
synced 2025-01-20 06:11:10 +00:00
j->k for correct unicode...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@806 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
f77bff837c
commit
c232fa7e86
@ -164,7 +164,7 @@ void vo_draw_text_sub(int dxs,int dys,void (*draw_alpha)(int x0,int y0, int w,in
|
||||
for(k=previousStrip;k<lastStripPosition;k++){
|
||||
int c=text[k];
|
||||
int font;
|
||||
if (sub_unicode && (c>=0x80)) c=(c<<8)+text[++j];
|
||||
if (sub_unicode && (c>=0x80)) c=(c<<8)+text[++k];
|
||||
font=vo_font->font[c];
|
||||
if(x>=0 && x+vo_font->width[c]<dxs)
|
||||
if(font>=0)
|
||||
|
Loading…
Reference in New Issue
Block a user