summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorTimo Sirainen <cras@irssi.org>2001-03-17 06:58:13 +0000
committercras <cras@dbcabf3a-b0e7-0310-adc4-f8d773084564>2001-03-17 06:58:13 +0000
commit6e57a9e94ef3b64db7edadc0317a920c5e840bc9 (patch)
treec5df25c66c7d31d5c21530859a30450b5355b128 /src
parentb97326279a1e59022c7eb1e69350446704a8591f (diff)
downloadirssi-6e57a9e94ef3b64db7edadc0317a920c5e840bc9.zip
/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
Diffstat (limited to 'src')
-rw-r--r--src/fe-common/core/hilight-text.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/fe-common/core/hilight-text.c b/src/fe-common/core/hilight-text.c
index 80ca2d03..197957f6 100644
--- a/src/fe-common/core/hilight-text.c
+++ b/src/fe-common/core/hilight-text.c
@@ -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) {