From: Dana Jansens Date: Sun, 23 Mar 2003 19:43:15 +0000 (+0000) Subject: dont render gradients that are missing X-Git-Url: https://git.brokenzipper.com/gitweb?a=commitdiff_plain;h=5f44c45f06bd80fbf1edcbf6ad394c0cd8198b03;p=chaz%2Fopenbox dont render gradients that are missing --- diff --git a/render/gradient.c b/render/gradient.c index f8a8cb14..b65cf0ec 100644 --- a/render/gradient.c +++ b/render/gradient.c @@ -28,6 +28,7 @@ void gradient_render(Surface *sf, int w, int h) break; default: g_message("unhandled gradient"); + return; } if (sf->data.planar.relief == Flat && sf->data.planar.border) {