Add support for \s escapes to qfcc.

I guess \s is an fteqcc extention for toggling bold characters. At the
request of freewill.
This commit is contained in:
Bill Currie 2012-07-14 11:47:26 +09:00
parent 45311e55c2
commit 4055d9a435
2 changed files with 5 additions and 0 deletions

View file

@ -493,6 +493,8 @@ Formfeed character (not in quake engines). Equivalent to \(rsx0c.
.B \(rsr
Carriage return. Equivalent to \(rsx0d.
.TP
.B \(rss
Toggle "bold" characters (add 0x80).
.B \(rst
Tab character. Equivalent to \(rsx09.
.TP

View file

@ -240,6 +240,9 @@ make_string (char *token, char **end)
case 'r':
c = '\r';
break;
case 's':
mask ^= 0x80;
break;
case 't':
c = '\t';
break;