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) {