Mercurial > emacs
diff src/editfns.c @ 18613:614b916ff5bf
Fix bugs with inappropriate mixing of Lisp_Object with int.
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Fri, 04 Jul 1997 20:44:52 +0000 |
parents | 0567c4086813 |
children | 537522d5e6d8 |
line wrap: on
line diff
--- a/src/editfns.c Fri Jul 04 20:43:49 1997 +0000 +++ b/src/editfns.c Fri Jul 04 20:44:52 1997 +0000 @@ -981,7 +981,7 @@ char *tzstring; char **oldenv = environ, **newenv; - if (zone == Qt) + if (EQ (zone, Qt)) tzstring = "UTC0"; else if (STRINGP (zone)) tzstring = (char *) XSTRING (zone)->data; @@ -1146,7 +1146,7 @@ if (NILP (tz)) tzstring = 0; - else if (tz == Qt) + else if (EQ (tz, Qt)) tzstring = "UTC0"; else {