aboutsummaryrefslogtreecommitdiffstats
path: root/src/editfns.c
diff options
context:
space:
mode:
authorRichard M. Stallman1997-07-04 20:44:52 +0000
committerRichard M. Stallman1997-07-04 20:44:52 +0000
commit2e34157cd9e74150e79e0ce23236252b47fb5f1a (patch)
tree418451da8380ec73d5d46dc648c07e6ad8af845f /src/editfns.c
parent8c239ac3ed4f636810bc08959e1318b1a6e928ba (diff)
downloademacs-2e34157cd9e74150e79e0ce23236252b47fb5f1a.tar.gz
emacs-2e34157cd9e74150e79e0ce23236252b47fb5f1a.zip
Fix bugs with inappropriate mixing of Lisp_Object with int.
Diffstat (limited to 'src/editfns.c')
-rw-r--r--src/editfns.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/editfns.c b/src/editfns.c
index 7e663cccb27..72a954b8986 100644
--- a/src/editfns.c
+++ b/src/editfns.c
@@ -981,7 +981,7 @@ If you want them to stand for years in this century, you must do that yourself."
981 char *tzstring; 981 char *tzstring;
982 char **oldenv = environ, **newenv; 982 char **oldenv = environ, **newenv;
983 983
984 if (zone == Qt) 984 if (EQ (zone, Qt))
985 tzstring = "UTC0"; 985 tzstring = "UTC0";
986 else if (STRINGP (zone)) 986 else if (STRINGP (zone))
987 tzstring = (char *) XSTRING (zone)->data; 987 tzstring = (char *) XSTRING (zone)->data;
@@ -1146,7 +1146,7 @@ If TZ is t, use Universal Time.")
1146 1146
1147 if (NILP (tz)) 1147 if (NILP (tz))
1148 tzstring = 0; 1148 tzstring = 0;
1149 else if (tz == Qt) 1149 else if (EQ (tz, Qt))
1150 tzstring = "UTC0"; 1150 tzstring = "UTC0";
1151 else 1151 else
1152 { 1152 {