version 1.9 | | version 1.10 |
---|
| | |
/* | | /* |
* static char *rcsid_png_c = | | * static char *rcsid_png_c = |
* "$Id: png.c,v 1.9 2005/08/30 22:15:25 akirschbaum Exp $"; | | * "$Id: png.c,v 1.10 2006/03/16 20:59:51 akirschbaum Exp $"; |
*/ | | */ |
/* | | /* |
Crossfire client, a client program for the crossfire program. | | Crossfire client, a client program for the crossfire program. |
| | |
* png loading took about 140 seconds, of which 60 seconds of that | | * png loading took about 140 seconds, of which 60 seconds of that |
* was in XAllocColor calls. | | * was in XAllocColor calls. |
*/ | | */ |
long pngx_find_color(Display *display, Colormap *cmap, int red, int green, int blue) | | static long pngx_find_color(Display *display, Colormap *cmap, int red, int green, int blue) |
{ | | { |
| | |
int i, closeness=0xffffff, close_entry=-1, tmpclose; | | int i, closeness=0xffffff, close_entry=-1, tmpclose; |