View | Details | Raw Unified | Return to bug 171892
Collapse All | Expand All

(-)graphics/libvisual04-plugins/files/patch-plugins_morph_flash_morph__flash.c (+13 lines)
Added Link Here
1
- fix mistyped return statements, which clang objects strenuously to
2
3
--- plugins/morph/flash/morph_flash.c~	2006-01-27 20:19:18.000000000 +0000
4
+++ plugins/morph/flash/morph_flash.c
5
@@ -116,7 +116,7 @@ int lv_morph_flash_palette (VisPluginDat
6
 	FlashPrivate *priv = visual_object_get_private (VISUAL_OBJECT (plugin));
7
 
8
 	if (src1->pal == NULL || src2->pal == NULL)
9
-		return;
10
+		return 0;
11
 
12
 	if (rate < 0.5)
13
 		visual_palette_blend (pal, src1->pal, &priv->whitepal, rate * 2);

Return to bug 171892