changeset 33341:4898b17f68f9

Change variable type to match type in fribidi function declaration.
author reimar
date Sat, 07 May 2011 20:43:19 +0000
parents 8d137fb84699
children a96fc06e1ea7
files sub/subreader.c
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/sub/subreader.c	Sat May 07 20:35:47 2011 +0000
+++ b/sub/subreader.c	Sat May 07 20:43:19 2011 +0000
@@ -1240,7 +1240,7 @@
 {
   FriBidiChar logical[LINE_LEN+1], visual[LINE_LEN+1]; // Hopefully these two won't smash the stack
   char        *ip      = NULL, *op     = NULL;
-  FriBidiCharType base;
+  FriBidiParType base;
   size_t len,orig_len;
   int l=sub->lines;
   int char_set_num;
@@ -1264,7 +1264,7 @@
       break;
     }
     len = fribidi_charset_to_unicode (char_set_num, ip, len, logical);
-    base = fribidi_flip_commas?FRIBIDI_TYPE_ON:FRIBIDI_TYPE_L;
+    base = fribidi_flip_commas?FRIBIDI_PAR_ON:FRIBIDI_PAR_LTR;
     log2vis = fribidi_log2vis (logical, len, &base,
 			       /* output */
 			       visual, NULL, NULL, NULL);