[indic] Fix clang everything

This commit is contained in:
Behdad Esfahbod 2018-10-03 18:07:49 +02:00
parent 4df02e3240
commit 45e55f7080
1 changed files with 10 additions and 4 deletions

View File

@ -412,9 +412,15 @@ preprocess_text_indic (const hb_ot_shape_plan_t *plan,
bool matched = false; bool matched = false;
switch (buffer->cur().codepoint) switch (buffer->cur().codepoint)
{ {
case 0x0985u: matched = 0x09BE == buffer->cur(1).codepoint; break; case 0x0985u:
case 0x098Bu: matched = 0x09C3 == buffer->cur(1).codepoint; break; matched = 0x09BE == buffer->cur(1).codepoint;
case 0x098Cu: matched = 0x09E2 == buffer->cur(1).codepoint; break; break;
case 0x098Bu:
matched = 0x09C3 == buffer->cur(1).codepoint;
break;
case 0x098Cu:
matched = 0x09E2 == buffer->cur(1).codepoint;
break;
} }
buffer->next_glyph (); buffer->next_glyph ();
if (matched) { buffer->output_glyph (0x25CCu); buffer->next_glyph (); } if (matched) { buffer->output_glyph (0x25CCu); buffer->next_glyph (); }
@ -475,7 +481,7 @@ preprocess_text_indic (const hb_ot_shape_plan_t *plan,
} }
break; break;
case 0x0AC5u: case 0x0AC5u:
matched = 0x0ABE == buffer->cur(1).codepoint; break; matched = 0x0ABE == buffer->cur(1).codepoint;
break; break;
} }
buffer->next_glyph (); buffer->next_glyph ();