diff options
Diffstat (limited to 'src/window.c')
| -rw-r--r-- | src/window.c | 4 |
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; |