jpcommon_label.c.patch 450 B

123456789101112131415161718
  1. --- open_jtalk-1.09/jpcommon/jpcommon_label-org.c 2015-12-25 10:14:27.000000000 +0900
  2. +++ open_jtalk-1.09/jpcommon/jpcommon_label.c 2015-12-28 08:55:43.560668141 +0900
  3. @@ -296,6 +296,7 @@
  4. if (index == a)
  5. break;
  6. }
  7. + if (i > 3) i = 3;
  8. return i;
  9. }
  10. @@ -395,6 +396,7 @@
  11. for (i = 0, index = m->next; index != NULL; index = index->next)
  12. i++;
  13. + if (i > 10) i = 10;
  14. return index_mora_in_utterance(m) + i;
  15. }