aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard M. Stallman2007-10-09 01:35:07 +0000
committerRichard M. Stallman2007-10-09 01:35:07 +0000
commit7b3cf84ec70e00be73ae752b62690df2f01bdf56 (patch)
tree9fd107cb20cb73e6cf3a52c1a0238208a62faf2c
parent228c21924a2a6e922b570837e68f1232e8bcdcbb (diff)
downloademacs-7b3cf84ec70e00be73ae752b62690df2f01bdf56.tar.gz
emacs-7b3cf84ec70e00be73ae752b62690df2f01bdf56.zip
(gamegrid-setup-default-font): Use face-spec-set.
-rw-r--r--lisp/play/gamegrid.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/play/gamegrid.el b/lisp/play/gamegrid.el
index 54e766a5878..813c75d1731 100644
--- a/lisp/play/gamegrid.el
+++ b/lisp/play/gamegrid.el
@@ -320,7 +320,7 @@ static unsigned char gamegrid_bits[] = {
320 (< max-height height)) 320 (< max-height height))
321 (setq max-height height)))))) 321 (setq max-height height))))))
322 (when (and max-height (< max-height 1)) 322 (when (and max-height (< max-height 1))
323 (set-face-attribute gamegrid-face nil :height max-height))))) 323 (face-spec-set gamegrid-face `((t :height ,max-height)))))))
324 324
325(defun gamegrid-initialize-display () 325(defun gamegrid-initialize-display ()
326 (setq gamegrid-display-mode (gamegrid-display-type)) 326 (setq gamegrid-display-mode (gamegrid-display-type))