diff src/extents.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 d674024a8674
children 229bd619740a
line wrap: on
line diff
--- a/src/extents.c	Tue Jun 20 21:51:21 2006 +0000
+++ b/src/extents.c	Wed Jun 21 17:30:37 2006 +0000
@@ -1455,11 +1455,11 @@
 	      set_extent_start (e, -1);
 	      set_extent_end (e, -1);
 	    }
+
+	  /* But we need to clear all the lists containing extents or
+	     havoc will result. */
+	  extent_list_delete_all (data->extents);
 	}
-
-      /* But we need to clear all the lists containing extents or
-	 havoc will result. */
-      extent_list_delete_all (data->extents);
       soe_invalidate (object);
     }
 }