Commit 7b3cf84e authored by Richard M. Stallman's avatar Richard M. Stallman

(gamegrid-setup-default-font): Use face-spec-set.

parent 228c2192
......@@ -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))
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment