On Mon, Jan 26, 2009 at 9:07 AM, Thomas Dickey <[email protected]> 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);
       }
   }

_______________________________________________
xorg mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/xorg

Reply via email to