summaryrefslogtreecommitdiff
path: root/object/simple.c
diff options
context:
space:
mode:
Diffstat (limited to 'object/simple.c')
-rw-r--r--object/simple.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/object/simple.c b/object/simple.c
index 629fdf85..aa736b8e 100644
--- a/object/simple.c
+++ b/object/simple.c
@@ -189,7 +189,7 @@ fz_toname(fz_obj *obj)
{
if (fz_isname(obj))
return obj->u.n;
- return "";
+ return nil;
}
char *
@@ -197,7 +197,7 @@ fz_tostringbuf(fz_obj *obj)
{
if (fz_isstring(obj))
return obj->u.s.buf;
- return "";
+ return nil;
}
int