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 5ca46dd3316..ebfd1b0f778 100644 --- a/src/window.c +++ b/src/window.c | |||
| @@ -3804,7 +3804,7 @@ See Info node `(elisp)Splitting Windows' for more details and examples. */) | |||
| 3804 | error ("Window height %d too small (after splitting)", size_int); | 3804 | error ("Window height %d too small (after splitting)", size_int); |
| 3805 | if (size_int + window_safe_height > XFASTINT (o->total_lines)) | 3805 | if (size_int + window_safe_height > XFASTINT (o->total_lines)) |
| 3806 | error ("Window height %d too small (after splitting)", | 3806 | error ("Window height %d too small (after splitting)", |
| 3807 | XFASTINT (o->total_lines) - size_int); | 3807 | (int) (XFASTINT (o->total_lines) - size_int)); |
| 3808 | if (NILP (o->parent) | 3808 | if (NILP (o->parent) |
| 3809 | || NILP (XWINDOW (o->parent)->vchild)) | 3809 | || NILP (XWINDOW (o->parent)->vchild)) |
| 3810 | { | 3810 | { |
| @@ -3821,7 +3821,7 @@ See Info node `(elisp)Splitting Windows' for more details and examples. */) | |||
| 3821 | error ("Window width %d too small (after splitting)", size_int); | 3821 | error ("Window width %d too small (after splitting)", size_int); |
| 3822 | if (size_int + window_safe_width > XFASTINT (o->total_cols)) | 3822 | if (size_int + window_safe_width > XFASTINT (o->total_cols)) |
| 3823 | error ("Window width %d too small (after splitting)", | 3823 | error ("Window width %d too small (after splitting)", |
| 3824 | XFASTINT (o->total_cols) - size_int); | 3824 | (int) (XFASTINT (o->total_cols) - size_int)); |
| 3825 | if (NILP (o->parent) | 3825 | if (NILP (o->parent) |
| 3826 | || NILP (XWINDOW (o->parent)->hchild)) | 3826 | || NILP (XWINDOW (o->parent)->hchild)) |
| 3827 | { | 3827 | { |