Applied patch from STR# 2144 to solve hotspot problem

with links inside <pre> text.



git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6775 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
This commit is contained in:
Greg Ercolano 2009-04-22 08:45:15 +00:00
parent 6de77851fe
commit 27a9be5f70

View File

@ -1740,7 +1740,9 @@ void Fl_Help_View::format() {
else if (isspace((*ptr)&255))
{
needspace = 1;
if ( pre ) {
xx += (int)fl_width(' ');
}
ptr ++;
}
else if (*ptr == '&' && s < (buf + sizeof(buf) - 1))