comparison src/device-tty.c @ 284:558f606b08ae r21-0b40

Import from CVS: tag r21-0b40
author cvs
date Mon, 13 Aug 2007 10:34:13 +0200
parents c42ec1d1cded
children e11d67e05968
comparison
equal deleted inserted replaced
283:fa3d41851a08 284:558f606b08ae
185 enum device_metrics m) 185 enum device_metrics m)
186 { 186 {
187 struct console *con = XCONSOLE (DEVICE_CONSOLE (d)); 187 struct console *con = XCONSOLE (DEVICE_CONSOLE (d));
188 switch (m) 188 switch (m)
189 { 189 {
190 case size_device: 190 case DM_size_device:
191 return Fcons (make_int (CONSOLE_TTY_DATA (con)->width), 191 return Fcons (make_int (CONSOLE_TTY_DATA (con)->width),
192 make_int (CONSOLE_TTY_DATA (con)->height)); 192 make_int (CONSOLE_TTY_DATA (con)->height));
193 break; 193 break;
194 } 194 }
195 195
196 /* Do not know such property */ 196 /* Do not know such property */
197 return Qnil; 197 return Qunbound;
198 } 198 }
199 199
200 /************************************************************************/ 200 /************************************************************************/
201 /* initialization */ 201 /* initialization */
202 /************************************************************************/ 202 /************************************************************************/