Code: Select all
*** 3482,3489 ****
resource_value=XGetResourceClass(database,client_name,"gammaCorrect",
(char *) "True");
resource_info->gamma_correct=IsMagickTrue(resource_value);
! resource_info->image_geometry=ConstantString(XGetResourceClass(database,
! client_name,"geometry",(char *) NULL));
resource_value=XGetResourceClass(database,client_name,"gravity",
(char *) "Center");
resource_info->gravity=(GravityType) ParseMagickOption(MagickGravityOptions,
--- 3482,3489 ----
resource_value=XGetResourceClass(database,client_name,"gammaCorrect",
(char *) "True");
resource_info->gamma_correct=IsMagickTrue(resource_value);
! resource_info->image_geometry=XGetResourceClass(database,client_name,
! "geometry",(char *) NULL);
resource_value=XGetResourceClass(database,client_name,"gravity",
(char *) "Center");
resource_info->gravity=(GravityType) ParseMagickOption(MagickGravityOptions,
***************
*** 3504,3511 ****
(char *) NULL);
resource_info->matte_color=XGetResourceInstance(database,client_name,
"mattecolor",(char *) NULL);
! resource_info->name=ConstantString(XGetResourceClass(database,client_name,
! "name",(char *) NULL));
resource_info->pen_colors[0]=XGetResourceClass(database,client_name,"pen1",
(char *) "black");
resource_info->pen_colors[1]=XGetResourceClass(database,client_name,"pen2",
--- 3504,3511 ----
(char *) NULL);
resource_info->matte_color=XGetResourceInstance(database,client_name,
"mattecolor",(char *) NULL);
! resource_info->name=XGetResourceClass(database,client_name,"name",
! (char *) NULL);
resource_info->pen_colors[0]=XGetResourceClass(database,client_name,"pen1",
(char *) "black");
resource_info->pen_colors[1]=XGetResourceClass(database,client_name,"pen2",