/[xmakemol]/xmakemol/file.c
ViewVC logotype

Diff of /xmakemol/file.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.151 by MPHodges, Thu Dec 5 22:18:44 2002 UTC revision 1.152 by MPHodges, Wed Dec 11 22:40:28 2002 UTC
# Line 3565  get_atom_data (struct frame *this_frame, Line 3565  get_atom_data (struct frame *this_frame,
3565    
3566            XAllocColor(display, cmap, &xcolor);            XAllocColor(display, cmap, &xcolor);
3567          }          }
3568        else if (this_frame->atom[i].color_name)        else if (this_frame->atom[i].has_color_name)
3569          {          {
3570            XParseColor(display, cmap, this_frame->atom[i].color_name, &xcolor);            XParseColor(display, cmap, this_frame->atom[i].color_name, &xcolor);
3571                            
# Line 3581  get_atom_data (struct frame *this_frame, Line 3581  get_atom_data (struct frame *this_frame,
3581                XParseColor(display, cmap, "white", &xcolor);                XParseColor(display, cmap, "white", &xcolor);
3582                XAllocColor(display, cmap, &xcolor);                XAllocColor(display, cmap, &xcolor);
3583              }              }
               
3584          }          }
3585        else if (element[index].color_allocated == 0)        else if (element[index].color_allocated == 0)
3586          {          {

Legend:
Removed from v.1.151  
changed lines
  Added in v.1.152

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26