comparison src/console.c @ 16:0293115a14e9 r19-15b91

Import from CVS: tag r19-15b91
author cvs
date Mon, 13 Aug 2007 08:49:20 +0200
parents 376386a54a3c
children 859a2309aef8
comparison
equal deleted inserted replaced
15:ad457d5f7d04 16:0293115a14e9
129 struct console *con = XCONSOLE (obj); 129 struct console *con = XCONSOLE (obj);
130 char buf[256]; 130 char buf[256];
131 131
132 if (print_readably) 132 if (print_readably)
133 error ("printing unreadable object #<console %s 0x%x>", 133 error ("printing unreadable object #<console %s 0x%x>",
134 string_data (XSTRING (con->name)), con->header.uid); 134 XSTRING_DATA (con->name), con->header.uid);
135 135
136 sprintf (buf, "#<%s-console", !CONSOLE_LIVE_P (con) ? "dead" : 136 sprintf (buf, "#<%s-console", !CONSOLE_LIVE_P (con) ? "dead" :
137 CONSOLE_TYPE_NAME (con)); 137 CONSOLE_TYPE_NAME (con));
138 write_c_string (buf, printcharfun); 138 write_c_string (buf, printcharfun);
139 if (CONSOLE_LIVE_P (con)) 139 if (CONSOLE_LIVE_P (con))