| 1 |
Description: use proper enumerator type |
| 2 |
Author: Tzafrir Cohen <[email protected]> |
| 3 |
|
| 4 |
--- a/bidiv.c |
| 5 |
+++ b/bidiv.c |
| 6 |
@@ -42,7 +42,7 @@ int width=80; |
| 7 |
change the base direction on every newline, and =2 means change it every |
| 8 |
paragraph (where a paragraph starts after a completely empty line. |
| 9 |
*/ |
| 10 |
-FriBidiCharType base_dir=FRIBIDI_TYPE_N, prev_base_dir=FRIBIDI_TYPE_LTR; |
| 11 |
+FriBidiParType base_dir=FRIBIDI_TYPE_N, prev_base_dir=FRIBIDI_TYPE_LTR; |
| 12 |
int auto_basedir=2; |
| 13 |
int justify=1; |
| 14 |
int out_utf8=0; |
| 15 |
@@ -199,7 +199,7 @@ bidiv(FILE *fp) |
| 16 |
fribidi_log2vis(unicode_in, len, &base_dir, |
| 17 |
unicode_out, NULL, NULL, NULL); |
| 18 |
#else |
| 19 |
- FriBidiCharType tmp_dir=prev_base_dir; |
| 20 |
+ FriBidiParType tmp_dir=prev_base_dir; |
| 21 |
fribidi_log2vis(unicode_in, len, &tmp_dir, |
| 22 |
unicode_out, NULL, NULL, NULL); |
| 23 |
rtl_line= (tmp_dir==FRIBIDI_TYPE_RTL); |