Hookified termcap devices, added bootstrap display device, plus many bugfixes.
[bpt/emacs.git] / lisp / frame.el
index b6130e2..883ec17 100644 (file)
@@ -1137,7 +1137,7 @@ the question is inapplicable to a certain kind of display."
      ((eq frame-type 'pc)
       16)
      (t
-      (tty-display-color-cells)))))
+      (tty-display-color-cells display)))))
 
 (defun display-visual-class (&optional display)
   "Returns the visual class of DISPLAY.