DO NOT REPLY TO THIS MESSAGE. INSTEAD, POST ANY RESPONSES TO THE LINK BELOW.
[STR New] Link: http://www.fltk.org/str.php?L2849 Version: 1.3-current I can confirm the same behavior with Ubuntu, but that's a Debian derivative, anyway. To the patch (I didn't test it, just reading...): + char *last = q + bytesread; + while (q <= last) { Doesn't last point behind the last character of the string here (probably the terminating NUL byte, if any? So the 2nd line should probably read: + while (q < last) { And, since there must be at least 2 more characters after the '%' character, this could maybe be (to optimize a little): + while (q < last-2) { Then: + memmove(q+1, q+3, last - (q+2)); Does this also move the trailing NUL byte? I can't tell right now... Other than that, I don't know about other window managers or OS's. Maybe I could test with a Fedora system later, but I'd guess the main difference could be the WM... Link: http://www.fltk.org/str.php?L2849 Version: 1.3-current _______________________________________________ fltk-bugs mailing list [email protected] http://lists.easysw.com/mailman/listinfo/fltk-bugs
