diff options
-rw-r--r-- | ChangeLog.adoc | 7 | ||||
-rw-r--r-- | src/plugins/spell/spell.c | 2 |
2 files changed, 8 insertions, 1 deletions
diff --git a/ChangeLog.adoc b/ChangeLog.adoc index db74d5bad..21d156859 100644 --- a/ChangeLog.adoc +++ b/ChangeLog.adoc @@ -15,6 +15,13 @@ https://weechat.org/files/releasenotes/ReleaseNotes-devel.html[release notes] (file _ReleaseNotes.adoc_ in sources). +[[v3.1]] +== Version 3.1 (under dev) + +Bug fixes:: + + * spell: fix refresh of bar item "spell_suggest" when the input becomes empty (issue #1586) + [[v3.0]] == Version 3.0 (2020-11-11) diff --git a/src/plugins/spell/spell.c b/src/plugins/spell/spell.c index 62a88388c..e9278e995 100644 --- a/src/plugins/spell/spell.c +++ b/src/plugins/spell/spell.c @@ -801,7 +801,7 @@ spell_modifier_cb (const void *pointer, void *data, color_error = weechat_color (weechat_config_string (spell_config_color_misspelled)); length = strlen (string); - result = weechat_string_dyn_alloc (length * 2); + result = weechat_string_dyn_alloc ((length * 2) + 1); if (!result) return NULL; |