%N does now same as %n, except in .theme files it always does the

terminal default color while %n sets the "previous color".


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1150 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
Timo Sirainen 2001-01-28 03:41:17 +00:00 committed by cras
commit f382abee30
3 changed files with 8 additions and 6 deletions

View file

@ -94,10 +94,8 @@ int format_expand_styles(GString *out, char format, TEXT_DEST_REC *dest)
case 'F':
/* flashing - ignore */
break;
case 'N':
/* don't put clear-color tag at the end of the output - ignore */
break;
case 'n':
case 'N':
/* default color */
g_string_append_c(out, 4);
g_string_append_c(out, FORMAT_STYLE_DEFAULTS);