/[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.577 by kfstorm, Mon Mar 31 20:36:21 2003 UTC revision 1.578 by fx, Tue Apr 1 10:04:38 2003 UTC
# Line 1  Line 1 
1  /* Functions for the X window system.  /* Functions for the X window system.
2     Copyright (C) 1989, 92, 93, 94, 95, 96, 1997, 1998, 1999, 2000, 2001     Copyright (C) 1989, 92, 93, 94, 95, 96, 97, 98, 99, 2000, 01, 02, 03
3       Free Software Foundation.       Free Software Foundation.
4    
5  This file is part of GNU Emacs.  This file is part of GNU Emacs.
# Line 6246  xpm_lookup_color (f, color_name, color) Line 6246  xpm_lookup_color (f, color_name, color)
6246                                         color->blue);                                         color->blue);
6247        p = xpm_cache_color (f, color_name, color, h);        p = xpm_cache_color (f, color_name, color, h);
6248      }      }
6249      /* You get `opaque' at least from ImageMagick converting pbm to xpm
6250         with transparency, and it's useful.  */
6251      else if (strcmp ("opaque", color_name) == 0)
6252        {
6253          bzero (color, sizeof (XColor));  /* Is this necessary/correct?  */
6254          color->pixel = FRAME_FOREGROUND_PIXEL (f);
6255          p = xpm_cache_color (f, color_name, color, h);
6256        }
6257    
6258    return p != NULL;    return p != NULL;
6259  }  }

Legend:
Removed from v.1.577  
changed lines
  Added in v.1.578

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