From d7dbc017b4c3a13a8750681050a900dd42296b79 Mon Sep 17 00:00:00 2001 From: Nick Roberts Date: Wed, 1 Mar 2006 22:59:06 +0000 Subject: [PATCH] (dframe-frame-mode): Don't burp when menu-bar-lines is nil. --- lisp/dframe.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lisp/dframe.el b/lisp/dframe.el index e238a469dd5..f77a5059026 100644 --- a/lisp/dframe.el +++ b/lisp/dframe.el @@ -422,7 +422,7 @@ CREATE-HOOK are hooks to run after creating a frame." parameters (append parameters - (list (cons 'height (+ mh (frame-height))))))) + (list (cons 'height (+ (or mh 0) (frame-height))))))) (params ;; Only add a guessed width if one is not specified ;; in the input parameters. -- 2.39.2