diff options
author | Sébastien Helleu <flashcode@flashtux.org> | 2020-11-13 21:26:16 +0100 |
---|---|---|
committer | Sébastien Helleu <flashcode@flashtux.org> | 2020-11-13 21:30:06 +0100 |
commit | eb90a73fe811e2de0e0646abf10242e639a7b1a1 (patch) | |
tree | 0321a9367f92c4c8b21bc7fc5c97da78aecafb3a /doc/en/weechat_scripting.en.adoc | |
parent | 4065d32e685ad0db1c46dc245ed067d3786d3d09 (diff) | |
download | weechat-eb90a73fe811e2de0e0646abf10242e639a7b1a1.zip |
spell: fix refresh of bar item "spell_suggest" when the input becomes empty (closes #1586)
When the input is empty, length of string is zero: when sending zero to
function weechat_string_dyn_alloc, the function returns NULL and therefore we
return immediately instead of handling the empty input, which is a valid value.
The regression was introduced by the use of dynamic strings, commit:
299f74bfef9e0d239ad141a4df3b2dcf11a4c0da
Diffstat (limited to 'doc/en/weechat_scripting.en.adoc')
0 files changed, 0 insertions, 0 deletions