# HG changeset patch # User Oleksandr Gavenko # Date 1475790354 -10800 # Node ID 32de94c1b0395fd2d341c0eca888c9b5bd81c061 # Parent f45410f1f80ea656e536ca22785675dae8f21f87 Disable word wrapping for dictd dictionary. diff -r f45410f1f80e -r 32de94c1b039 Makefile --- a/Makefile Fri Oct 07 00:30:52 2016 +0300 +++ b/Makefile Fri Oct 07 00:45:54 2016 +0300 @@ -371,7 +371,7 @@ DICTFMT := dictfmt # --case-sensitive -DICTFMT_OPT := --headword-separator '; ' --break-headwords --without-headword --utf8 --allchars +DICTFMT_OPT := --headword-separator '; ' --break-headwords --without-headword --utf8 --allchars --columns 0 dist/dictd/%.dict dist/dictd/%.index: dist/dictd/%.c5 dist/dictd/%.c5.name dist/dictd/%.c5.url $(MAKEFILE_LIST) (cd dist/dictd; $(DICTFMT) $(DICTFMT_OPT) -c5 -s "`cat $*.c5.name`" -u "`cat $*.c5.url`" $*) < $< diff -r f45410f1f80e -r 32de94c1b039 py/gadict.py --- a/py/gadict.py Fri Oct 07 00:30:52 2016 +0300 +++ b/py/gadict.py Fri Oct 07 00:45:54 2016 +0300 @@ -271,7 +271,7 @@ return string m = self.CONT_RE.match(self.line) if m is not None: - string += "\n" + m.group(1) + string += " " + m.group(1) else: return string