summaryrefslogtreecommitdiff
path: root/src/core/wee-config.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/core/wee-config.c
parent4919a943fdb1b6137aeda9e040782e2cf9a718f4 (diff)
downloadweechat-8d2c23209fe115fb7b7829437406c24f50ac0ec2.zip
core: save and restore layout for buffers and windows on /upgrade
Diffstat (limited to 'src/core/wee-config.c')
-rw-r--r--src/core/wee-config.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/wee-config.c b/src/core/wee-config.c
index cd4654027..690e7dfab 100644
--- a/src/core/wee-config.c
+++ b/src/core/wee-config.c
@@ -1340,7 +1340,7 @@ config_weechat_notify_set (struct t_gui_buffer *buffer, const char *notify)
if ((value < 0) && (strcmp (notify, "reset") != 0))
return 0;
- plugin_name = plugin_get_name (buffer->plugin);
+ plugin_name = gui_buffer_get_plugin_name (buffer);
length = strlen (plugin_name) + 1 + strlen (buffer->name) + 1;
option_name = malloc (length);
if (option_name)