changeset 805:d7ab7dbadb22

j->k for correct unicode...
author arpi_esp
date Mon, 14 May 2001 23:38:18 +0000
parents c3fad5e1698e
children 07e92a1c121c
files libvo/sub.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/libvo/sub.c	Mon May 14 22:40:08 2001 +0000
+++ b/libvo/sub.c	Mon May 14 23:38:18 2001 +0000
@@ -164,7 +164,7 @@
             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)