# HG changeset patch # User Kim F. Storm # Date 1120728809 0 # Node ID 7e06f331c228ac846af5dcd901049430a930e496 # Parent 0d5d0b4f6314c28cfac7a821cda53f0035a372f8 (Frecenter): Fix last change (set iarg before use). diff -r 0d5d0b4f6314 -r 7e06f331c228 src/window.c --- 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);