bump product version to 6.1.0.2
[LibreOffice.git] / external / hunspell / 0001-fix-compound-word-part-pa.patch
blob152a9ff58a148740af8dd15532a3e5fa87d06a9a
1 From de3ae6844af62300e473f7b7b66a56e54153b4b9 Mon Sep 17 00:00:00 2001
2 From: =?UTF-8?q?L=C3=A1szl=C3=B3=20N=C3=A9meth?= <nemeth@numbertext.org>
3 Date: Mon, 16 Oct 2017 23:00:23 +0200
4 Subject: [PATCH] fix compound word part "pa:"
6 (regression in morphological analysis)
7 ---
8 src/hunspell/affixmgr.cxx | 2 +-
9 1 file changed, 1 insertion(+), 1 deletion(-)
11 diff --git a/src/hunspell/affixmgr.cxx b/src/hunspell/affixmgr.cxx
12 index ea0f0fc..52c7fa5 100644
13 --- a/src/hunspell/affixmgr.cxx
14 +++ b/src/hunspell/affixmgr.cxx
15 @@ -2608,7 +2608,7 @@ int AffixMgr::compound_check_morph(const char* word,
16 if (!m.empty()) {
17 result.push_back(MSEP_FLD);
18 result.append(MORPH_PART);
19 - result.append(word + 1);
20 + result.append(word + i);
21 line_uniq_app(m, MSEP_REC);
22 result.append(m);
24 --
25 1.9.1