changeset 56497:8f77d7fac4d6

(make_window): Initialize nrows_scale_factor and ncols_scale_factor members.
author Kim F. Storm <storm@cua.dk>
date Wed, 21 Jul 2004 21:08:45 +0000
parents 069e4841ceb2
children ee3ccdb058d1
files src/window.c
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/window.c	Wed Jul 21 21:08:23 2004 +0000
+++ b/src/window.c	Wed Jul 21 21:08:45 2004 +0000
@@ -260,6 +260,7 @@
   bzero (&p->last_cursor, sizeof (p->last_cursor));
   bzero (&p->phys_cursor, sizeof (p->phys_cursor));
   p->desired_matrix = p->current_matrix = 0;
+  p->nrows_scale_factor = p->ncols_scale_factor = 1;
   p->phys_cursor_type = -1;
   p->phys_cursor_width = -1;
   p->must_be_updated_p = 0;