summaryrefslogtreecommitdiff
path: root/src/gui/gui-chat.c
diff options
context:
space:
mode:
authorSebastien Helleu <flashcode@flashtux.org>2011-08-05 23:15:23 +0200
committerSebastien Helleu <flashcode@flashtux.org>2011-08-05 23:15:23 +0200
commit8d2c23209fe115fb7b7829437406c24f50ac0ec2 (patch)
treea8b0848801b889c676095178ba8680a4b30b36ea /src/gui/gui-chat.c
parent4919a943fdb1b6137aeda9e040782e2cf9a718f4 (diff)
downloadweechat-8d2c23209fe115fb7b7829437406c24f50ac0ec2.zip
core: save and restore layout for buffers and windows on /upgrade
Diffstat (limited to 'src/gui/gui-chat.c')
-rw-r--r--src/gui/gui-chat.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/gui-chat.c b/src/gui/gui-chat.c
index 514506cd8..250b654f3 100644
--- a/src/gui/gui-chat.c
+++ b/src/gui/gui-chat.c
@@ -589,13 +589,13 @@ gui_chat_printf_date_tags (struct t_gui_buffer *buffer, time_t date,
new_msg = NULL;
if (buffer)
{
- length = strlen (plugin_get_name (buffer->plugin)) + 1 +
+ length = strlen (gui_buffer_get_plugin_name (buffer)) + 1 +
strlen (buffer->name) + 1 + ((tags) ? strlen (tags) : 0) + 1;
modifier_data = malloc (length);
if (modifier_data)
{
snprintf (modifier_data, length, "%s;%s;%s",
- plugin_get_name (buffer->plugin),
+ gui_buffer_get_plugin_name (buffer),
buffer->name,
(tags) ? tags : "");
new_msg = hook_modifier_exec (NULL,