Mercurial > hg > xemacs-beta
diff src/window.c @ 3462:6c7605dfcf07
[xemacs-hg @ 2006-06-19 18:19:33 by james]
Fix various problems found by static checkers: use of uninitialized values,
dereferencing pointers before checking whether they are NULL, memory leaks,
and incomplete checking of return values. <m3k67gpyhk.fsf@jerrypc.cs.usu.edu>
author | james |
---|---|
date | Mon, 19 Jun 2006 18:19:38 +0000 |
parents | 141c2920ea48 |
children | 4d52aea479a2 |
line wrap: on
line diff
--- a/src/window.c Mon Jun 19 18:10:19 2006 +0000 +++ b/src/window.c Mon Jun 19 18:19:38 2006 +0000 @@ -4380,7 +4380,7 @@ { int new_pixsize; sizep = &CURSIZE (w); - dim = CURCHARSIZE (w); + dim = window_char_width (w, 0); new_pixsize = inpixels?(*sizep + delta):(dim+delta); set_window_pixsize (window, new_pixsize, 0, 0); return;