diff options
Diffstat (limited to 'src/core')
-rw-r--r-- | src/core/wee-command.c | 6 | ||||
-rw-r--r-- | src/core/wee-upgrade.c | 9 |
2 files changed, 10 insertions, 5 deletions
diff --git a/src/core/wee-command.c b/src/core/wee-command.c index e88e51587..2657ee291 100644 --- a/src/core/wee-command.c +++ b/src/core/wee-command.c @@ -3293,7 +3293,11 @@ COMMAND_CALLBACK(hotlist) if (priority < 0) COMMAND_ERROR; } - gui_hotlist_add (buffer, priority, NULL, 0); + gui_hotlist_add ( + buffer, + priority, + NULL, /* creation_time */ + 0); /* check_conditions */ return WEECHAT_RC_OK; } diff --git a/src/core/wee-upgrade.c b/src/core/wee-upgrade.c index 187e39340..3846c9eda 100644 --- a/src/core/wee-upgrade.c +++ b/src/core/wee-upgrade.c @@ -767,10 +767,11 @@ upgrade_weechat_read_hotlist (struct t_infolist *infolist) if (buf) { memcpy (&creation_time, buf, size); - new_hotlist = gui_hotlist_add (ptr_buffer, - infolist_integer (infolist, "priority"), - &creation_time, - 1); + new_hotlist = gui_hotlist_add ( + ptr_buffer, + infolist_integer (infolist, "priority"), + &creation_time, + 1); /* check_conditions */ if (new_hotlist) { for (i = 0; i < GUI_HOTLIST_NUM_PRIORITIES; i++) |