From 2369be8e5eaf7c393926503ea3ae7745419c8cfc Mon Sep 17 00:00:00 2001 From: kramm Date: Fri, 6 Jan 2006 20:37:56 +0000 Subject: [PATCH] trivial fixes --- lib/devices/render.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/devices/render.c b/lib/devices/render.c index 1865e88..e63532a 100644 --- a/lib/devices/render.c +++ b/lib/devices/render.c @@ -20,6 +20,7 @@ #include #include +#include #include #include "../gfxdevice.h" #include "../gfxtools.h" @@ -707,6 +708,7 @@ int render_result_save(gfxresult_t*r, char*filename) } else { writePNG(filename, (unsigned char*)i->img, i->width, i->height); } + return 1; } void*render_result_get(gfxresult_t*r, char*name) { -- 1.7.10.4