summaryrefslogtreecommitdiff
path: root/graphics/giflib/files/patch-util_giftext.c
blob: 6227d274d74fe6afddf49c65d429e0ae1aa5b995 (plain) (blame)
1
2
3
4
5
6
7
8
9
--- util/giftext.c.orig	Mon Oct 10 08:08:51 2005
+++ util/giftext.c	Mon Aug 28 17:01:18 2006
@@ -136,5 +136,5 @@
 	printf("\tColorResolution = %d, BitsPerPixel = %d, BackGround = %d.\n",
 	       GifFile->SColorResolution,
-	       GifFile->SColorMap->BitsPerPixel,
+	       GifFile->SColorMap?GifFile->SColorMap->BitsPerPixel:0,
 	       GifFile->SBackGroundColor);
 	if (GifFile->SColorMap)