fset: fix crash in dump of options

This commit is contained in:
Sébastien Helleu 2017-07-02 12:58:21 +02:00
parent 448112f3e6
commit 5848d06e65

View File

@ -1640,7 +1640,7 @@ fset_option_print_log ()
continue;
weechat_log_printf ("");
weechat_log_printf ("[fset option (addr:0x%lx)]", ptr_fset_option);
weechat_log_printf (" index . . . . . . . . : '%s'", ptr_fset_option->index);
weechat_log_printf (" index . . . . . . . . : %d", ptr_fset_option->index);
weechat_log_printf (" file. . . . . . . . . : '%s'", ptr_fset_option->file);
weechat_log_printf (" section . . . . . . . : '%s'", ptr_fset_option->section);
weechat_log_printf (" option. . . . . . . . : '%s'", ptr_fset_option->option);