]> Dogcows Code - chaz/openbox/commitdiff
dont render gradients that are missing
authorDana Jansens <danakj@orodu.net>
Sun, 23 Mar 2003 19:43:15 +0000 (19:43 +0000)
committerDana Jansens <danakj@orodu.net>
Sun, 23 Mar 2003 19:43:15 +0000 (19:43 +0000)
render/gradient.c

index f8a8cb14ce6b1778ab2a32da154c7491e2e0e218..b65cf0ec9e7623f347a5796211741e06edc7cc9b 100644 (file)
@@ -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) {
This page took 0.02743 seconds and 4 git commands to generate.