]> git.eshelyaron.com Git - emacs.git/commitdiff
(gamegrid-setup-default-font): Use face-spec-set.
authorRichard M. Stallman <rms@gnu.org>
Tue, 9 Oct 2007 01:35:07 +0000 (01:35 +0000)
committerRichard M. Stallman <rms@gnu.org>
Tue, 9 Oct 2007 01:35:07 +0000 (01:35 +0000)
lisp/play/gamegrid.el

index 54e766a5878379ff3239fdb596e17aa394c31c7b..813c75d173120bf0292343df1d07bb1681e9d45d 100644 (file)
@@ -320,7 +320,7 @@ static unsigned char gamegrid_bits[] = {
                          (< 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))