# include "Ximage.h"

void MakeColormap (int argc, char **argv) {

  int i;
  char *temp_name;


  for (i = 0; i < NGRAPHCOLORS; i++) {
    temp_name = XGetDefault (graphic.display, argv[0], GRAPHCOLORS[i][0]);
    graphic.color[i] = GetColor (graphic.display, (temp_name == (char *) NULL ? GRAPHCOLORS[i][0] : temp_name), graphic.colormap, graphic.fore);
  }
}
