DO NOT REPLY TO THIS MESSAGE. INSTEAD, POST ANY RESPONSES TO THE LINK BELOW.
[STR New] Link: http://www.fltk.org/str.php?L2005 Version: 1.1.9 A check added to Fl_Text_Display.cxx not by me but by Sebastian Hollington. It is an if() check to avoid freeing lineStr if it's not there, which was causing random crashes. It is tested in Ubuntu but probably applies to all OS. The fix is shown below and the modified Fl_Text_Display.cxx is attached. // Line 1480 in Fl_Text_Display::draw_vline stdCharWidth = TMPFONTWIDTH; //mFontStruct->max_bounds.width; if ( stdCharWidth <= 0 ) { Fl::error("Fl_Text_Display::draw_vline(): bad font measurement"); if(lineStr) free((void *)lineStr); //Seb was here - added if() check return; } Link: http://www.fltk.org/str.php?L2005 Version: 1.1.9 Attachment: http://www.fltk.org/strfiles/2005/Fl_Text_Display.cxx _______________________________________________ fltk-bugs mailing list fltk-bugs@easysw.com http://lists.easysw.com/mailman/listinfo/fltk-bugs