diff options
Diffstat (limited to 'pango/mini-fribidi')
-rw-r--r-- | pango/mini-fribidi/fribidi_get_type.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pango/mini-fribidi/fribidi_get_type.c b/pango/mini-fribidi/fribidi_get_type.c index 3f32d5e0..e81607a2 100644 --- a/pango/mini-fribidi/fribidi_get_type.c +++ b/pango/mini-fribidi/fribidi_get_type.c @@ -40,7 +40,7 @@ _pango_fribidi_get_type(FriBidiChar uch) { FriBidiPropCharType *block; int i = uch % 256, j = uch / 256; - if (j > 256) + if (j >= 256) return FRIBIDI_TYPE_LTR; block = FriBidiPropertyBlocks[j]; |