Subject: bug in TextF.c, patch offered
I offered you a patch for a bug in TextF.c some days ago (Jan 10 2007).
But in lesstif-daily of Jan 24 2007 the bug still is visible. You should
really apply this patch as soon as possible.
Should the attachment be missing: the text of the patch follows.
winfried
--- lesstif-0.95.0/lib/Xm-2.1/TextF.c.orig 2007-01-08 21:35:54.000000000
+0100
+++ lesstif-0.95.0/lib/Xm-2.1/TextF.c 2007-01-10 21:14:46.000000000 +0100
@@ -2313,7 +2313,9 @@
/* Protect against overwriting the left/right borders.
*/
if (x < bw)
- xx = bw;
+ {
+ xx = bw; ww -= bw - x;
+ }
if (XtWidth(w) < xx + ww + bw)
ww = XtWidth(w) - 2 * bw - xx;
@@ -2323,6 +2325,8 @@
xx, bh,
ww,
XtHeight(w) - 2 * bh));
+
+ if(ww > 0)
XClearArea(XtDisplay((Widget)w), XtWindow(w),
xx, bh,
ww /* XtWidth(w) - 2 * bw */,
Viel oder wenig? Schnell oder langsam? Unbegrenzt surfen + telefonieren
ohne Zeit- und Volumenbegrenzung? DAS TOP ANGEBOT JETZT bei Arcor: günstig
und schnell mit DSL - das All-Inclusive-Paket für clevere Doppel-Sparer,
nur 44,85 inkl. DSL- und ISDN-Grundgebühr!
http://www.arcor.de/rd/emf-dsl-2
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Lesstif-discuss mailing list
Lesstif-discuss@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/lesstif-discuss