aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/casefiddle.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/casefiddle.c b/src/casefiddle.c
index 4fcdcc0fee9..77d7115cab1 100644
--- a/src/casefiddle.c
+++ b/src/casefiddle.c
@@ -36,7 +36,7 @@ casify_object (flag, obj)
36 36
37 while (1) 37 while (1)
38 { 38 {
39 if (XTYPE (obj) == Lisp_Int) 39 if (INTEGERP (obj))
40 { 40 {
41 c = XINT (obj); 41 c = XINT (obj);
42 if (c >= 0 && c <= 0400) 42 if (c >= 0 && c <= 0400)
@@ -48,7 +48,7 @@ casify_object (flag, obj)
48 } 48 }
49 return obj; 49 return obj;
50 } 50 }
51 if (XTYPE (obj) == Lisp_String) 51 if (STRINGP (obj))
52 { 52 {
53 obj = Fcopy_sequence (obj); 53 obj = Fcopy_sequence (obj);
54 len = XSTRING (obj)->size; 54 len = XSTRING (obj)->size;