/[emacs]/emacs/src/xfns.c
ViewVC logotype

Diff of /emacs/src/xfns.c

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

revision 1.501.4.2 by gerd, Sun Oct 28 19:09:10 2001 UTC revision 1.501.4.3 by gerd, Sun Oct 28 20:59:36 2001 UTC
# Line 8064  x_build_heuristic_mask (f, img, how) Line 8064  x_build_heuristic_mask (f, img, how)
8064        if (i == 3 && NILP (how))        if (i == 3 && NILP (how))
8065          {          {
8066            char color_name[30];            char color_name[30];
           XColor exact, color;  
           Colormap cmap;  
   
8067            sprintf (color_name, "#%04x%04x%04x", rgb[0], rgb[1], rgb[2]);            sprintf (color_name, "#%04x%04x%04x", rgb[0], rgb[1], rgb[2]);
8068                        bg = x_alloc_image_color (f, img, build_string (color_name), 0);
8069            cmap = FRAME_X_COLORMAP (f);            look_at_corners_p = 0;
           if (XLookupColor (dpy, cmap, color_name, &exact, &color))  
             {  
               bg = color.pixel;  
               look_at_corners_p = 0;  
             }  
8070          }          }
8071      }      }
8072        

Legend:
Removed from v.1.501.4.2  
changed lines
  Added in v.1.501.4.3

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