aboutsummaryrefslogtreecommitdiffstats
path: root/src/window.c
diff options
context:
space:
mode:
authorKen Raeburn1999-10-25 04:58:18 +0000
committerKen Raeburn1999-10-25 04:58:18 +0000
commit7539e11fca07e5837010aaae18eaaefc7e51cf52 (patch)
tree679815b93c740067026d3a86165a2433f71fbad6 /src/window.c
parent3a7093d84fa090b8f2458cef0376b81de4bd77ff (diff)
downloademacs-7539e11fca07e5837010aaae18eaaefc7e51cf52.tar.gz
emacs-7539e11fca07e5837010aaae18eaaefc7e51cf52.zip
more XCAR/XCDR/XFLOAT_DATA uses, to help isolete lisp engine
Diffstat (limited to 'src/window.c')
-rw-r--r--src/window.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/window.c b/src/window.c
index 493b2cf018d..ecce77d6df1 100644
--- a/src/window.c
+++ b/src/window.c
@@ -4836,13 +4836,13 @@ A nil width parameter means no margin.")
4836 /* Check widths < 0 and translate a zero width to nil. 4836 /* Check widths < 0 and translate a zero width to nil.
4837 Margins that are too wide have to be checked elsewhere. */ 4837 Margins that are too wide have to be checked elsewhere. */
4838 if ((INTEGERP (left) && XINT (left) < 0) 4838 if ((INTEGERP (left) && XINT (left) < 0)
4839 || (FLOATP (left) && XFLOAT (left)->data <= 0)) 4839 || (FLOATP (left) && XFLOAT_DATA (left) <= 0))
4840 XSETFASTINT (left, 0); 4840 XSETFASTINT (left, 0);
4841 if (INTEGERP (left) && XFASTINT (left) == 0) 4841 if (INTEGERP (left) && XFASTINT (left) == 0)
4842 left = Qnil; 4842 left = Qnil;
4843 4843
4844 if ((INTEGERP (right) && XINT (right) < 0) 4844 if ((INTEGERP (right) && XINT (right) < 0)
4845 || (FLOATP (right) && XFLOAT (right)->data <= 0)) 4845 || (FLOATP (right) && XFLOAT_DATA (right) <= 0))
4846 XSETFASTINT (right, 0); 4846 XSETFASTINT (right, 0);
4847 if (INTEGERP (right) && XFASTINT (right) == 0) 4847 if (INTEGERP (right) && XFASTINT (right) == 0)
4848 right = Qnil; 4848 right = Qnil;