[Indic] Don't use syllable serial value 0

This commit is contained in:
Behdad Esfahbod 2012-05-11 17:07:08 +02:00
parent 892eb78782
commit ff24d1081a
1 changed files with 2 additions and 1 deletions

View File

@ -82,6 +82,7 @@ main := |*
PASTE (initial_reordering_, func) (map, buffer, mask_array, last, p+1); \
last = p+1; \
syllable_serial++; \
if (unlikely (!syllable_serial)) syllable_serial++; \
} HB_STMT_END
static void
@ -99,7 +100,7 @@ find_syllables (const hb_ot_map_t *map, hb_buffer_t *buffer, hb_mask_t *mask_arr
pe = eof = buffer->len;
unsigned int last = 0;
uint8_t syllable_serial = 0;
uint8_t syllable_serial = 1;
%%{
write exec;
}%%