]> jfr.im git - irc/irssi/irssi.git/commitdiff
Merge pull request #36 from ailin-nemui/missing-hilights
authorailin-nemui <redacted>
Wed, 15 Sep 2021 15:56:45 +0000 (17:56 +0200)
committerAilin Nemui <redacted>
Wed, 15 Sep 2021 15:57:21 +0000 (17:57 +0200)
correctly store updated message levels e.g. from /hilight

(cherry picked from commit ad8221835c90969a6ba87807b072ba9f4d63bd48)

NEWS
src/fe-text/textbuffer-formats.c

diff --git a/NEWS b/NEWS
index ced7bcd51fa605cec076648d81d4700299fba5ba..b7c62b93be9efa8952704b461a52d8ff253ec6bc 100644 (file)
--- a/NEWS
+++ b/NEWS
@@ -2,9 +2,10 @@ v1.3.0-an 2021-09-05  Ailin Nemui <Nei>
        * /SET resolve_reverse_lookup setting was removed (#1135)
        * Irssi will try to connect on IPv4 if IPv6 connection failed
          (#1146). By Shivaram Lingamneni
+
        * The display system now renders formats on the fly (#1079,
-         #1188, #1191, #1192, #1204, #1205, #1209, an#13, an#14, an#28,
-         an#29)
+         #1188, #1191, #1192, #1204, #1205, #1209, #1349, an#13,
+         an#14, an#28, an#29, an#36)
 
          This major change will break scripts that try to modify
          printed text during "print text" signal (#1189). They need
index 20abc0dfb8800d3ba9ed33de4146dd6ea708fcd0..50d6250a71fb01c26a24a28abf2e6bcf6a4cb865 100644 (file)
@@ -265,7 +265,7 @@ static void sig_gui_print_text_finished(WINDOW_REC *window, TEXT_DEST_REC *dest)
 
        info->meta = line_meta_create(dest->meta);
 
-       info->level |= MSGLEVEL_FORMAT;
+       info->level = dest->level | MSGLEVEL_FORMAT;
 
        /* the line will be inserted into the view with textbuffer_view_insert_line by
           gui-printtext.c:view_add_eol */