mirror of
https://github.com/irssi/irssi.git
synced 2026-08-09 20:00:23 +02:00
/HILIGHT -full didn't work, and -word was treated as -word + -full. Updated
/HELP hilight. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1408 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
parent
b97326279a
commit
6e57a9e94e
2 changed files with 5 additions and 4 deletions
|
|
@ -474,7 +474,7 @@ static void hilight_print(int index, HILIGHT_REC *rec)
|
|||
chans != NULL ? chans : "",
|
||||
levelstr != NULL ? levelstr : "",
|
||||
rec->nickmask ? " -mask" : "",
|
||||
rec->fullword ? " -word" : "",
|
||||
rec->fullword ? " -full" : "",
|
||||
rec->regexp ? " -regexp" : "");
|
||||
g_free_not_null(chans);
|
||||
g_free_not_null(levelstr);
|
||||
|
|
@ -563,7 +563,7 @@ static void cmd_hilight(const char *data)
|
|||
rec->nick = TRUE;
|
||||
|
||||
rec->nickmask = g_hash_table_lookup(optlist, "mask") != NULL;
|
||||
rec->fullword = g_hash_table_lookup(optlist, "word") != NULL;
|
||||
rec->fullword = g_hash_table_lookup(optlist, "full") != NULL;
|
||||
rec->regexp = g_hash_table_lookup(optlist, "regexp") != NULL;
|
||||
|
||||
if (colorarg != NULL) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue