diff options
Diffstat (limited to 'modules/indic/indic-lang.c')
-rw-r--r-- | modules/indic/indic-lang.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/modules/indic/indic-lang.c b/modules/indic/indic-lang.c index 3c9a21e4..89ab301f 100644 --- a/modules/indic/indic-lang.c +++ b/modules/indic/indic-lang.c @@ -154,7 +154,7 @@ indic_engine_break (PangoEngineLang *engine, attrs[i].is_mandatory_break = FALSE; } else if (prev_wc != 0 && (this_wc == 0x200D || this_wc == 0x200C)) - { + { if (next_wc != 0) { if (next_next_wc == 0) @@ -169,7 +169,7 @@ indic_engine_break (PangoEngineLang *engine, attrs[i].is_cursor_position = FALSE; attrs[i].is_char_break = FALSE; attrs[i].is_line_break = FALSE; - attrs[i].is_mandatory_break = FALSE; + attrs[i].is_mandatory_break = FALSE; } else if ((next_next_wc != 0) && (next_wc == 0x09CD || /* Bengali */ @@ -193,19 +193,19 @@ indic_engine_break (PangoEngineLang *engine, attrs[i].is_cursor_position = FALSE; attrs[i].is_char_break = FALSE; attrs[i].is_line_break = FALSE; - attrs[i].is_mandatory_break = FALSE; + attrs[i].is_mandatory_break = FALSE; - i++; + i++; attrs[i].is_cursor_position = FALSE; - } + } } - else + else { attrs[i].is_cursor_position = FALSE; attrs[i].is_char_break = FALSE; attrs[i].is_line_break = FALSE; attrs[i].is_mandatory_break = FALSE; - } + } } } } |