From 4669bb95997b16b60296bcaa3415b8adc94c3b7b Mon Sep 17 00:00:00 2001 From: Matthew Fernandez Date: Wed, 7 Sep 2022 17:27:49 -0700 Subject: [PATCH] rsvg plugin gvloadimage_rsvg_load: remove unnecessary use of gboolean --- plugin/rsvg/gvloadimage_rsvg.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugin/rsvg/gvloadimage_rsvg.c b/plugin/rsvg/gvloadimage_rsvg.c index 3fc83a788..51324fb33 100644 --- a/plugin/rsvg/gvloadimage_rsvg.c +++ b/plugin/rsvg/gvloadimage_rsvg.c @@ -108,7 +108,7 @@ static RsvgHandle* gvloadimage_rsvg_load(GVJ_t * job, usershape_t *us) return NULL; } - if (rsvg_handle_write(rsvgh, (const guchar *)fileBuf, (gsize)fileSize, &err) == FALSE) { + if (!rsvg_handle_write(rsvgh, (const guchar *)fileBuf, (gsize)fileSize, &err)) { fprintf(stderr, "rsvg_handle_write returned an error: %s\n", err->message); free(fileBuf); #if HAVE_G_OBJECT_UNREF -- 2.40.0