changeset 85093:17d7aed08b42

(gamegrid-setup-default-font): Use face-spec-set.
author Richard M. Stallman <rms@gnu.org>
date Tue, 09 Oct 2007 01:35:07 +0000
parents 41a7eb9e15b3
children 717b92d4133f
files lisp/play/gamegrid.el
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/play/gamegrid.el	Mon Oct 08 23:27:38 2007 +0000
+++ b/lisp/play/gamegrid.el	Tue Oct 09 01:35:07 2007 +0000
@@ -320,7 +320,7 @@
 			  (< max-height height))
 		      (setq max-height height))))))
       (when (and max-height (< max-height 1))
-	(set-face-attribute gamegrid-face nil :height max-height)))))
+	(face-spec-set gamegrid-face `((t :height ,max-height)))))))
 
 (defun gamegrid-initialize-display ()
   (setq gamegrid-display-mode (gamegrid-display-type))