ANN: xterm patch #240

Jeff Chua jeff.chua.linux at gmail.com
Sun Jan 25 18:19:30 PST 2009


On Mon, Jan 26, 2009 at 9:07 AM, Thomas Dickey <dickey at radix.net> wrote:
>                             Patch #240 - 2009/1/25

# ./xterm -version
X.Org 6.8.99.903(240)
# ./xterm
Floating point exception


Below's patch fixes the problem ... taken from xterm-239.

Thanks,
Jeff

--- xterm/charproc.c.org	2009-01-26 09:44:43 +0800
+++ xterm/charproc.c	2009-01-26 09:50:33 +0800
@@ -4955,9 +4955,8 @@
   static void
   VTResize(Widget w)
   {
-    XtermWidget xw;
-
-    if ((xw = getXtermWidget(w)) != 0) {
+    if (XtIsRealized(w)) {
+	XtermWidget xw = (XtermWidget) w;
   	ScreenResize(xw, xw->core.width, xw->core.height, &xw->flags);
       }
   }




More information about the xorg mailing list