diff options
author | Sebastien Helleu <flashcode@flashtux.org> | 2005-11-10 15:05:27 +0000 |
---|---|---|
committer | Sebastien Helleu <flashcode@flashtux.org> | 2005-11-10 15:05:27 +0000 |
commit | dd735af7f823b8136f80ce3b809dd1bac4cd5e0e (patch) | |
tree | 5279f832df0f18031d62f5618d52b2f9c1d5a981 /src/gui | |
parent | 87fb462f359335b9ce38db74a9a1154b852ca7e4 (diff) | |
download | weechat-dd735af7f823b8136f80ce3b809dd1bac4cd5e0e.zip |
Fixed bug with ctrl-w key (delete previous word) when used in the middle of a line
Diffstat (limited to 'src/gui')
-rw-r--r-- | src/gui/gui-action.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/gui-action.c b/src/gui/gui-action.c index eb1c941d9..3ada510c8 100644 --- a/src/gui/gui-action.c +++ b/src/gui/gui-action.c @@ -328,7 +328,7 @@ gui_action_delete_previous_word (t_gui_window *window) gui_action_clipboard_copy (string, size_deleted); - memmove (string, string + size_deleted, size_deleted); + memmove (string, string + size_deleted, strlen (string + size_deleted)); window->buffer->input_buffer_size -= size_deleted; window->buffer->input_buffer_length -= length_deleted; |