dect
/
asterisk
Archived
13
0
Fork 0

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
This commit is contained in:
seanbright 2009-05-26 22:43:21 +00:00
parent c0f405a0ef
commit 0876172f00
1 changed files with 1 additions and 1 deletions

View File

@ -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;
}