diff src/device-x.c @ 3466:4d52aea479a2

[xemacs-hg @ 2006-06-21 17:30:33 by james] Fix various problems found by static checkers. Also, but back the CURCHARSIZE macro in window.c to preserve the abstraction. <m3mzc6wh85.fsf_-_@jerrypc.cs.usu.edu>
author james
date Wed, 21 Jun 2006 17:30:37 +0000
parents 141c2920ea48
children cb9e9a46686b
line wrap: on
line diff
--- a/src/device-x.c	Tue Jun 20 21:51:21 2006 +0000
+++ b/src/device-x.c	Wed Jun 21 17:30:37 2006 +0000
@@ -1215,8 +1215,10 @@
      Xlib might just decide to exit().  So we mark the offending
      console for deletion and throw to top level.  */
   if (d)
-    enqueue_magic_eval_event (io_error_delete_device, dev);
-  DEVICE_X_BEING_DELETED (d) = 1;
+    {
+      enqueue_magic_eval_event (io_error_delete_device, dev);
+      DEVICE_X_BEING_DELETED (d) = 1;
+    }
   Fthrow (Qtop_level, Qnil);
 
   RETURN_NOT_REACHED (0);