diff options
author | Sebastian Rasmussen <sebras@hotmail.com> | 2008-04-20 12:20:52 +0200 |
---|---|---|
committer | Sebastian Rasmussen <sebras@hotmail.com> | 2008-04-20 12:20:52 +0200 |
commit | d96fc32d1dcae224b320918c96153574fbd5ed5e (patch) | |
tree | d9d972a39fc66f998059b585240ed43d395e07ef /raster/pixmap.c | |
parent | 704339802c88bc470187bd77c4680d19108dab0b (diff) | |
download | mupdf-d96fc32d1dcae224b320918c96153574fbd5ed5e.tar.xz |
Adhere to common idiom when not encoundering error.
Diffstat (limited to 'raster/pixmap.c')
-rw-r--r-- | raster/pixmap.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/raster/pixmap.c b/raster/pixmap.c index 74e2f59a..cec36014 100644 --- a/raster/pixmap.c +++ b/raster/pixmap.c @@ -23,7 +23,7 @@ fz_newpixmap(fz_pixmap **pixp, int x, int y, int w, int h, int n) return fz_outofmem; } - return nil; + return fz_okay; } fz_error * @@ -43,7 +43,7 @@ fz_newpixmapcopy(fz_pixmap **pixp, fz_pixmap *old) if (error) return error; memcpy((*pixp)->samples, old->samples, old->w * old->h * old->n); - return nil; + return fz_okay; } void |