summaryrefslogtreecommitdiff
path: root/src/core/wee-command.c
diff options
context:
space:
mode:
authorSebastien Helleu <flashcode@flashtux.org>2008-02-01 22:50:03 +0100
committerSebastien Helleu <flashcode@flashtux.org>2008-02-01 22:50:03 +0100
commitd7cc27f713e02c2047f5d6085ec8e5d48b802522 (patch)
tree9fbbf3a7c351dd8968114e5e92db23996a5dd69c /src/core/wee-command.c
parent184700e597f7374146ba0c0ca6932f83d8d6add2 (diff)
downloadweechat-d7cc27f713e02c2047f5d6085ec8e5d48b802522.zip
Fixed bugs/crashs when closing buffers
Diffstat (limited to 'src/core/wee-command.c')
-rw-r--r--src/core/wee-command.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/wee-command.c b/src/core/wee-command.c
index 1f8bbe1a1..febc05c52 100644
--- a/src/core/wee-command.c
+++ b/src/core/wee-command.c
@@ -168,7 +168,7 @@ command_buffer (void *data, struct t_gui_buffer *buffer,
}
gui_buffer_close (buffer, 1);
gui_status_refresh_needed = 1;
- buffer->input_refresh_needed = 1;
+ gui_current_window->buffer->input_refresh_needed = 1;
}
else if (string_strcasecmp (argv[1], "notify") == 0)
{