diff src/window.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 6c7605dfcf07
children 3ef0aaf3dc34
line wrap: on
line diff
--- a/src/window.c	Tue Jun 20 21:51:21 2006 +0000
+++ b/src/window.c	Wed Jun 21 17:30:37 2006 +0000
@@ -4380,7 +4380,7 @@
 	    {
 	      int new_pixsize;
 	      sizep = &CURSIZE (w);
-	      dim = window_char_width (w, 0);
+	      dim = CURCHARSIZE (w);
 	      new_pixsize = inpixels?(*sizep + delta):(dim+delta);
 	      set_window_pixsize (window, new_pixsize, 0, 0);
 	      return;