diff options
author | seanbright <seanbright@f38db490-d61c-443f-a65b-d21fe96a405b> | 2009-05-26 22:47:35 +0000 |
---|---|---|
committer | seanbright <seanbright@f38db490-d61c-443f-a65b-d21fe96a405b> | 2009-05-26 22:47:35 +0000 |
commit | 5fea93fd69e75fdcab776ba5be2a7155f13cbdfd (patch) | |
tree | 271db43318fa189f020debf41730d21f439fd76f /main/xmldoc.c | |
parent | bffab5ecc16bc2ee7ea19085077ca715959ed9a0 (diff) |
Merged revisions 196948 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk
........
r196948 | seanbright | 2009-05-26 18:43:21 -0400 (Tue, 26 May 2009) | 8 lines
Reset the terminal to the correct fg/bg after XML documenation is rendered.
(closes issue #15200)
Reported by: ajohnson
Patches:
05262009_xmldoc.patch uploaded by seanbright (license 71)
Tested by: ajohnson
........
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.2@196951 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'main/xmldoc.c')
-rw-r--r-- | main/xmldoc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/main/xmldoc.c b/main/xmldoc.c index f483f8b0a..318b3bd6e 100644 --- a/main/xmldoc.c +++ b/main/xmldoc.c @@ -396,7 +396,7 @@ char *ast_xmldoc_printable(const char *bwinput, int withcolors) } if (withcolors) { - ast_term_color_code(&colorized, COLOR_BRWHITE, 0); + ast_str_append(&colorized, 0, "%s", term_end()); if (!colorized) { return NULL; } |