Mercurial > hg > xemacs-beta
diff src/objects-tty.c @ 771:943eaba38521
[xemacs-hg @ 2002-03-13 08:51:24 by ben]
The big ben-mule-21-5 check-in!
Various files were added and deleted. See CHANGES-ben-mule.
There are still some test suite failures. No crashes, though.
Many of the failures have to do with problems in the test suite itself
rather than in the actual code. I'll be addressing these in the next
day or so -- none of the test suite failures are at all critical.
Meanwhile I'll be trying to address the biggest issues -- i.e. build
or run failures, which will almost certainly happen on various platforms.
All comments should be sent to ben@xemacs.org -- use a Cc: if necessary
when sending to mailing lists. There will be pre- and post- tags,
something like
pre-ben-mule-21-5-merge-in, and
post-ben-mule-21-5-merge-in.
author | ben |
---|---|
date | Wed, 13 Mar 2002 08:54:06 +0000 |
parents | fdefd0186b75 |
children | e38acbeb1cae |
line wrap: on
line diff
--- a/src/objects-tty.c Fri Mar 08 13:33:14 2002 +0000 +++ b/src/objects-tty.c Wed Mar 13 08:54:06 2002 +0000 @@ -1,6 +1,6 @@ /* TTY-specific Lisp objects. Copyright (C) 1995 Board of Trustees, University of Illinois. - Copyright (C) 1995, 1996 Ben Wing. + Copyright (C) 1995, 1996, 2001 Ben Wing. This file is part of XEmacs. @@ -27,10 +27,8 @@ #include "console-tty.h" #include "insdel.h" #include "objects-tty.h" -#ifdef MULE #include "device.h" -#include "mule-charset.h" -#endif +#include "charset.h" /* An alist mapping from color names to a cons of (FG-STRING, BG-STRING). */ Lisp_Object Vtty_color_alist; @@ -220,7 +218,7 @@ Intbyte *str = XSTRING_DATA (name); Lisp_Object charset = Qnil; - if (strncmp ((const char *) str, "normal", 6)) + if (qxestrncmp_c (str, "normal", 6)) return 0; str += 6; if (*str) @@ -229,7 +227,7 @@ if (*str != '/') return 0; str++; - charset = Ffind_charset (intern ((const char *) str)); + charset = Ffind_charset (intern_int (str)); if (NILP (charset)) return 0; #else