From 0deefd80bf37a50de1ace518a3212de4b2a750fc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kacper=20Michaj=C5=82ow?= Date: Fri, 15 Mar 2024 09:58:33 +0100 Subject: msg: clear buffered status_line on flush It shouldn't be used after flush anymore. --- common/msg.c | 1 + 1 file changed, 1 insertion(+) diff --git a/common/msg.c b/common/msg.c index 52550e9b62..9b17d5925b 100644 --- a/common/msg.c +++ b/common/msg.c @@ -269,6 +269,7 @@ void mp_msg_flush_status_line(struct mp_log *log, bool clear) } done: + log->root->status_line.len = 0; mp_mutex_unlock(&log->root->lock); } -- cgit v1.2.3