Author: greg.ercolano
Date: 2009-04-22 01:45:15 -0700 (Wed, 22 Apr 2009)
New Revision: 6775
Log:
Applied patch from STR# 2144 to solve hotspot problem
with links inside <pre> text.
Modified:
branches/branch-1.3/src/Fl_Help_View.cxx
Modified: branches/branch-1.3/src/Fl_Help_View.cxx
===================================================================
--- branches/branch-1.3/src/Fl_Help_View.cxx 2009-04-22 07:57:35 UTC (rev
6774)
+++ branches/branch-1.3/src/Fl_Help_View.cxx 2009-04-22 08:45:15 UTC (rev
6775)
@@ -1740,7 +1740,9 @@
else if (isspace((*ptr)&255))
{
needspace = 1;
-
+ if ( pre ) {
+ xx += (int)fl_width(' ');
+ }
ptr ++;
}
else if (*ptr == '&' && s < (buf + sizeof(buf) - 1))
_______________________________________________
fltk-commit mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk-commit