forked from pool/aspell
23 lines
660 B
Diff
23 lines
660 B
Diff
|
--- modules/speller/default/writable.cpp
|
||
|
+++ modules/speller/default/writable.cpp
|
||
|
@@ -672,7 +672,7 @@
|
||
|
|
||
|
static void repl_next(WordEntry * w)
|
||
|
{
|
||
|
- const Str * & i = (const Str * &)(w->intr[0]);
|
||
|
+ const Str * i = (const Str * )(w->intr[0]);
|
||
|
const Str * end = (const Str * )(w->intr[1]);
|
||
|
set_word(*w, *i);
|
||
|
++i;
|
||
|
--- modules/speller/default/writable.cpp
|
||
|
+++ modules/speller/default/writable.cpp
|
||
|
@@ -246,7 +246,7 @@
|
||
|
|
||
|
static void soundslike_next(WordEntry * w)
|
||
|
{
|
||
|
- const Str * & i = (const Str * &)(w->intr[0]);
|
||
|
+ const Str * i = (const Str * )(w->intr[0]);
|
||
|
const Str * end = (const Str * )(w->intr[1]);
|
||
|
set_word(*w, *i);
|
||
|
++i;
|