diff options
author | Tor Andersson <tor@ghostscript.com> | 2004-11-11 03:17:34 +0100 |
---|---|---|
committer | Tor Andersson <tor@ghostscript.com> | 2004-11-11 03:17:34 +0100 |
commit | 2ec725624d637789845478a90f799e9eeb54f9ee (patch) | |
tree | f305158bcd8331a2a656df7221a3acd01cd2724a /object/simple.c | |
parent | 69478b2d6028a295a32cf9b3c6e632263ef9b31b (diff) | |
download | mupdf-2ec725624d637789845478a90f799e9eeb54f9ee.tar.xz |
various fixes
Diffstat (limited to 'object/simple.c')
-rw-r--r-- | object/simple.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/object/simple.c b/object/simple.c index 953dcfa7..9f645c89 100644 --- a/object/simple.c +++ b/object/simple.c @@ -170,6 +170,8 @@ fz_toint(fz_obj *obj) { if (fz_isint(obj)) return obj->u.i; + if (fz_isreal(obj)) + return obj->u.f; return 0; } |