]> granicus.if.org Git - imagemagick/commitdiff
...
authorCristy <mikayla-grace@urban-warrior.org>
Sun, 21 Apr 2019 11:36:02 +0000 (07:36 -0400)
committerCristy <mikayla-grace@urban-warrior.org>
Sun, 21 Apr 2019 11:36:02 +0000 (07:36 -0400)
MagickCore/color.c

index 00fd8144c6c019820195ab12300395b2a294312f..8eec8b4498bc9d631b44b6ab87e087a16bc2cb44 100644 (file)
 /*
   Typedef declarations.
 */
-typedef struct _ColorMapInfo
+typedef struct _ColormapInfo
 {
   const char
-    *name;
+    name[21];
 
   const unsigned char
     red,
@@ -95,12 +95,12 @@ typedef struct _ColorMapInfo
 
   const ssize_t
     compliance;
-} ColorMapInfo;
+} ColormapInfo;
 \f
 /*
   Static declarations.
 */
-static const ColorMapInfo
+static const ColormapInfo
   ColorMap[] =
   {
     { "none", 0, 0, 0, 0, SVGCompliance | XPMCompliance },
@@ -870,7 +870,7 @@ static LinkedListInfo *AcquireColorCache(const char *filename,
     ColorInfo
       *color_info;
 
-    register const ColorMapInfo
+    register const ColormapInfo
       *p;
 
     p=ColorMap+i;