changeset 69236:13b406066d9e

(dframe-frame-mode): Don't burp when menu-bar-lines is nil.
author Nick Roberts <nickrob@snap.net.nz>
date Wed, 01 Mar 2006 22:59:06 +0000
parents 47524fba0f73
children 5e7d51a60bdf
files lisp/dframe.el
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/dframe.el	Wed Mar 01 22:57:05 2006 +0000
+++ b/lisp/dframe.el	Wed Mar 01 22:59:06 2006 +0000
@@ -422,7 +422,7 @@
 			    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.