Skip to content
Snippets Groups Projects
Commit e27e8615 authored by Sean Bright's avatar Sean Bright
Browse files

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: https://origsvn.digium.com/svn/asterisk/trunk@196948 65c4cc65-6c06-0410-ace0-fbb531ad65f3
parent 0e62eddb
No related branches found
No related tags found
No related merge requests found
......@@ -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;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment