changeset 64133:7e06f331c228

(Frecenter): Fix last change (set iarg before use).
author Kim F. Storm <storm@cua.dk>
date Thu, 07 Jul 2005 09:33:29 +0000
parents 0d5d0b4f6314
children 0fcb7f3236c9
files src/window.c
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/window.c	Thu Jul 07 09:33:13 2005 +0000
+++ b/src/window.c	Thu Jul 07 09:33:29 2005 +0000
@@ -1472,7 +1472,7 @@
 
   /* Check if we have a v/hchild with a v/hchild.  In that case remove
      one of them.  */
-  
+
   if (! NILP (par->vchild) && ! NILP (XWINDOW (par->vchild)->vchild))
     {
       p = XWINDOW (par->vchild);
@@ -5357,6 +5357,7 @@
     {
       arg = Fprefix_numeric_value (arg);
       CHECK_NUMBER (arg);
+      iarg = XINT (arg);
     }
 
   set_buffer_internal (buf);
@@ -5391,7 +5392,6 @@
 	  int extra_line_spacing;
 	  int h = window_box_height (w);
 
-	  iarg = XINT (arg);
 	  iarg = - max (-iarg, this_scroll_margin);
 
 	  SET_TEXT_POS (pt, PT, PT_BYTE);