summaryrefslogtreecommitdiff
path: root/src/core/wee-command.c
diff options
context:
space:
mode:
authorSebastien Helleu <flashcode@flashtux.org>2008-01-06 12:44:54 +0100
committerSebastien Helleu <flashcode@flashtux.org>2008-01-06 12:44:54 +0100
commitf94b679a4a97365de29bb99ede3b2bc5c44cd93f (patch)
tree8a8d9503d80f179a1aff447114272464c080c62f /src/core/wee-command.c
parent2b7c8eb73b5b8ac45c389ebc86671c2f0c487de0 (diff)
downloadweechat-f94b679a4a97365de29bb99ede3b2bc5c44cd93f.zip
Added hotlist option for buffer in plugins API, improved buffer refreshs
Diffstat (limited to 'src/core/wee-command.c')
-rw-r--r--src/core/wee-command.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/core/wee-command.c b/src/core/wee-command.c
index 4c9ae76bb..5c515d161 100644
--- a/src/core/wee-command.c
+++ b/src/core/wee-command.c
@@ -142,8 +142,8 @@ command_buffer (void *data, struct t_gui_buffer *buffer,
return WEECHAT_RC_ERROR;
}
gui_buffer_close (buffer, 1);
- gui_status_draw (gui_current_window->buffer, 1);
- gui_input_draw (gui_current_window->buffer, 1);
+ gui_status_refresh_needed = 1;
+ buffer->input_refresh_needed = 1;
}
else if (string_strcasecmp (argv[1], "notify") == 0)
{
@@ -897,7 +897,7 @@ command_plugin_list (char *name, int full)
{
/* second line of plugin info */
gui_chat_printf (NULL,
- _(" written by \"%s\", license: s%"),
+ _(" written by \"%s\", license: %s"),
ptr_plugin->author,
ptr_plugin->license);