Mercurial > hg > xemacs-beta
diff src/print.c @ 183:e121b013d1f0 r20-3b18
Import from CVS: tag r20-3b18
author | cvs |
---|---|
date | Mon, 13 Aug 2007 09:54:23 +0200 |
parents | 6075d714658b |
children | 3d6bfa290dbd |
line wrap: on
line diff
--- a/src/print.c Mon Aug 13 09:53:23 2007 +0200 +++ b/src/print.c Mon Aug 13 09:54:23 2007 +0200 @@ -877,7 +877,7 @@ { char buf[200]; sprintf (buf, "#<INTERNAL OBJECT (XEmacs bug?) (%s) 0x%p>", - XRECORD_LHEADER (obj)->implementation->name, + XRECORD_LHEADER (obj)->implementation->name, (void *) XPNTR (obj)); write_c_string (buf, printcharfun); } @@ -1440,7 +1440,7 @@ { file = Fexpand_file_name (file, Qnil); termscript = fopen ((char *) XSTRING_DATA (file), "w"); - if (termscript == 0) + if (termscript == NULL) report_file_error ("Opening termscript", Fcons (file, Qnil)); } return Qnil;