summaryrefslogtreecommitdiff
path: root/ext/pspell/pspell.c
diff options
context:
space:
mode:
Diffstat (limited to 'ext/pspell/pspell.c')
-rw-r--r--ext/pspell/pspell.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/pspell/pspell.c b/ext/pspell/pspell.c
index 85199d621d..0d053e5532 100644
--- a/ext/pspell/pspell.c
+++ b/ext/pspell/pspell.c
@@ -534,7 +534,7 @@ static PHP_FUNCTION(pspell_suggest)
if (wl) {
PspellStringEmulation *els = pspell_word_list_elements(wl);
while ((sug = pspell_string_emulation_next(els)) != 0) {
- add_next_index_string(return_value,(char *)sug,1);
+ add_next_index_string(return_value,(char *)sug);
}
delete_pspell_string_emulation(els);
} else {