colours we asked it for. This means that I can run pterm on an 8-bit
PseudoColor display even if I have another program running.
git-svn-id: svn://svn.tartarus.org/sgt/putty@5677
cda61777-01e9-0310-a592-
d414129be87e
}
gdk_colormap_alloc_colors(inst->colmap, inst->cols, NALLCOLOURS,
}
gdk_colormap_alloc_colors(inst->colmap, inst->cols, NALLCOLOURS,
- FALSE, FALSE, success);
for (i = 0; i < NALLCOLOURS; i++) {
if (!success[i])
g_error("%s: couldn't allocate colour %d (#%02x%02x%02x)\n",
for (i = 0; i < NALLCOLOURS; i++) {
if (!success[i])
g_error("%s: couldn't allocate colour %d (#%02x%02x%02x)\n",