summaryrefslogtreecommitdiff
path: root/src/core/wee-command.c
diff options
context:
space:
mode:
authorSebastien Helleu <flashcode@flashtux.org>2009-06-04 10:24:08 +0200
committerSebastien Helleu <flashcode@flashtux.org>2009-06-04 10:24:08 +0200
commitb3f69541e64e0dd3c3b85b7f10650d80bc243349 (patch)
tree94c41b2fb38634e6a3e6d492f0d63b030f952d01 /src/core/wee-command.c
parenta6363a7b0b49adafe7770ef0dd2fed95c6447096 (diff)
downloadweechat-b3f69541e64e0dd3c3b85b7f10650d80bc243349.zip
Fix bug with /buffer close N1-N2
Diffstat (limited to 'src/core/wee-command.c')
-rw-r--r--src/core/wee-command.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/core/wee-command.c b/src/core/wee-command.c
index 2f540516e..c7e094a27 100644
--- a/src/core/wee-command.c
+++ b/src/core/wee-command.c
@@ -610,6 +610,8 @@ command_buffer (void *data, struct t_gui_buffer *buffer,
}
else
{
+ number1 = -1;
+ number2 = -1;
pos = strchr (argv_eol[2], '-');
if (pos)
{