changeset 33316:5d4c2ebf56ff

Fix variable type and values to match function prototype.
author reimar
date Sat, 07 May 2011 19:06:26 +0000
parents d3ab6eb6b94b
children 73ba433d4d28
files libmenu/menu.c
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/libmenu/menu.c	Sat May 07 18:59:15 2011 +0000
+++ b/libmenu/menu.c	Sat May 07 19:06:26 2011 +0000
@@ -438,7 +438,7 @@
   static size_t buffer_size = 1024;
   static char *outputstr;
 
-  FriBidiCharType base;
+  FriBidiParType base;
   fribidi_boolean log2vis;
   size_t len;
 
@@ -459,7 +459,7 @@
       outputstr = realloc(outputstr, buffer_size);
     }
     len = fribidi_charset_to_unicode (char_set_num, txt, len, logical);
-    base = menu_fribidi_flip_commas?FRIBIDI_TYPE_ON:FRIBIDI_TYPE_L;
+    base = menu_fribidi_flip_commas?FRIBIDI_PAR_ON:FRIBIDI_PAR_LTR;
     log2vis = fribidi_log2vis (logical, len, &base, visual, NULL, NULL, NULL);
     if (log2vis) {
       len = fribidi_remove_bidi_marks (visual, len, NULL, NULL, NULL);