new feature: support for underlined text

This commit is contained in:
Andrzej Rybczak
2009-09-19 03:35:58 +02:00
parent ad685091bc
commit 0a2a7290f6
4 changed files with 34 additions and 1 deletions

View File

@@ -103,6 +103,9 @@ template <typename C> void String2Buffer(const std::basic_string<C> &s, basic_bu
case 'b':
buf << fmtBold;
break;
case 'u':
buf << fmtUnderline;
break;
case 'a':
buf << fmtAltCharset;
break;
@@ -115,6 +118,9 @@ template <typename C> void String2Buffer(const std::basic_string<C> &s, basic_bu
case 'b':
buf << fmtBoldEnd;
break;
case 'u':
buf << fmtUnderlineEnd;
break;
case 'a':
buf << fmtAltCharsetEnd;
break;