aboutsummaryrefslogtreecommitdiffstats
path: root/main/xmldoc.c
diff options
context:
space:
mode:
authorseanbright <seanbright@f38db490-d61c-443f-a65b-d21fe96a405b>2009-05-26 22:43:21 +0000
committerseanbright <seanbright@f38db490-d61c-443f-a65b-d21fe96a405b>2009-05-26 22:43:21 +0000
commit0876172f0077adeab48f335fda0a93b96288e961 (patch)
treea0c29ff4a2ea114b4111dfa74520d74af1400e2b /main/xmldoc.c
parentc0f405a0ef1e17a3597b81225c77a82205f2f7b7 (diff)
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/trunk@196948 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'main/xmldoc.c')
-rw-r--r--main/xmldoc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/main/xmldoc.c b/main/xmldoc.c
index 3f9b607d2..72625ff0e 100644
--- a/main/xmldoc.c
+++ b/main/xmldoc.c
@@ -398,7 +398,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;
}