summaryrefslogtreecommitdiff
path: root/graphics/libflash/patches/patch-ac
blob: 29f047195268b96bb5e45b0bbcd7e5078793f078 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
$NetBSD: patch-ac,v 1.5 2002/07/11 14:24:00 abs Exp $

--- Lib/flash.cc.orig	Thu Jul 11 15:07:01 2002
+++ Lib/flash.cc
@@ -100,6 +100,7 @@ long FlashGraphicInit(FlashHandle flashH
 			break;
 		default:
 			fprintf(stderr, "Unsupported depth\n");
+			return 0;
 	}
 
 	fh->gd->setMovieDimension(fh->main->frameRect.xmax - fh->main->frameRect.xmin,