1
0
mirror of https://github.com/weechat/weechat.git synced 2026-07-10 19:53:13 +02:00

core: allow value "0" in buffer property "unread" to remove read marker from buffer

This commit is contained in:
Sébastien Helleu
2022-12-26 01:27:45 +01:00
parent 56055de12e
commit 45638dca23
8 changed files with 44 additions and 19 deletions
+2 -1
View File
@@ -330,7 +330,8 @@ extern void gui_buffer_set_highlight_tags (struct t_gui_buffer *buffer,
const char *new_tags);
extern void gui_buffer_set_hotlist_max_level_nicks (struct t_gui_buffer *buffer,
const char *new_hotlist_max_level_nicks);
extern void gui_buffer_set_unread (struct t_gui_buffer *buffer);
extern void gui_buffer_set_unread (struct t_gui_buffer *buffer,
int remove_marker);
extern void gui_buffer_set (struct t_gui_buffer *buffer, const char *property,
const char *value);
extern void gui_buffer_set_pointer (struct t_gui_buffer *buffer,