comparison 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
comparison
equal deleted inserted replaced
3465:af932b7bc2ee 3466:4d52aea479a2
4378 { 4378 {
4379 if (widthflag) 4379 if (widthflag)
4380 { 4380 {
4381 int new_pixsize; 4381 int new_pixsize;
4382 sizep = &CURSIZE (w); 4382 sizep = &CURSIZE (w);
4383 dim = window_char_width (w, 0); 4383 dim = CURCHARSIZE (w);
4384 new_pixsize = inpixels?(*sizep + delta):(dim+delta); 4384 new_pixsize = inpixels?(*sizep + delta):(dim+delta);
4385 set_window_pixsize (window, new_pixsize, 0, 0); 4385 set_window_pixsize (window, new_pixsize, 0, 0);
4386 return; 4386 return;
4387 } 4387 }
4388 break; 4388 break;