[asterisk-commits] seanbright: trunk r196948 - /trunk/main/xmldoc.c
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Tue May 26 17:43:25 CDT 2009
Author: seanbright
Date: Tue May 26 17:43:21 2009
New Revision: 196948
URL: http://svn.asterisk.org/svn-view/asterisk?view=rev&rev=196948
Log:
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
Modified:
trunk/main/xmldoc.c
Modified: trunk/main/xmldoc.c
URL: http://svn.asterisk.org/svn-view/asterisk/trunk/main/xmldoc.c?view=diff&rev=196948&r1=196947&r2=196948
==============================================================================
--- trunk/main/xmldoc.c (original)
+++ trunk/main/xmldoc.c Tue May 26 17:43:21 2009
@@ -398,7 +398,7 @@
}
if (withcolors) {
- ast_term_color_code(&colorized, COLOR_BRWHITE, 0);
+ ast_str_append(&colorized, 0, "%s", term_end());
if (!colorized) {
return NULL;
}
More information about the asterisk-commits
mailing list