Mercurial > hg > xemacs-beta
diff src/window.c @ 3707:f6f6fc9eb269
[xemacs-hg @ 2006-11-28 21:20:22 by aidan]
Better language behaviour on startup.
author | aidan |
---|---|
date | Tue, 28 Nov 2006 21:20:37 +0000 |
parents | 719ceea8b3cb |
children | 74e0e1131e01 |
line wrap: on
line diff
--- a/src/window.c Tue Nov 28 16:09:47 2006 +0000 +++ b/src/window.c Tue Nov 28 21:20:37 2006 +0000 @@ -4223,7 +4223,8 @@ default_face_height_and_width (window, &defheight, &defwidth); /* #### This probably needs to know about the clipping area once a final definition is decided on. */ - num_lines += ((ypos2 - ypos1) / defheight); + if (defheight) + num_lines += ((ypos2 - ypos1) / defheight); } else {