Updated core
[LibreOffice.git] / hyphen / hyphen-lenwaswrong.patch
blobf42694ff1aae4380229cc27af5bcf91a4b762e1d
1 --- misc/hyphen-2.8.4/hyphen.c 29 Jun 2012 10:02:24 -0000 1.6
2 +++ misc/build/hyphen-2.8.4/hyphen.c 12 Jul 2012 15:19:16 -0000
3 @@ -951,7 +951,7 @@
4 rep2 = hnj_malloc (word_size * sizeof(char *));
5 pos2 = hnj_malloc (word_size * sizeof(int));
6 cut2 = hnj_malloc (word_size * sizeof(int));
7 - hyphens2 = hnj_malloc (word_size);
8 + hyphens2 = hnj_malloc (word_size + 3);
9 for (i = 0; i < word_size; i++) rep2[i] = NULL;
10 for (i = 0; i < word_size; i++) if
11 (hyphens[i]&1 || (begin > 0 && i + 1 == word_size)) {