mirror of
https://github.com/irssi/irssi.git
synced 2026-08-23 18:42:53 +02:00
Merge b6cd02019b into 15a40ea6d3
This commit is contained in:
commit
158fcf7e6f
1 changed files with 3 additions and 1 deletions
|
|
@ -484,7 +484,9 @@ static void hilight_print(int index, HILIGHT_REC *rec)
|
|||
GString *options;
|
||||
|
||||
options = g_string_new(NULL);
|
||||
if (!rec->nick || !rec->word) {
|
||||
if (!(rec->nick && rec->word))
|
||||
g_string_append(options, "-line ");
|
||||
else {
|
||||
if (rec->nick) g_string_append(options, "-nick ");
|
||||
if (rec->word) g_string_append(options, "-word ");
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue