projects
/
u
/
mdw
/
putty
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dbf58cf
)
Ask GDK to give us reasonable approximations if it can't get precisely the
author
ben
<ben@cda61777-01e9-0310-a592-d414129be87e>
Mon, 25 Apr 2005 22:46:08 +0000
(22:46 +0000)
committer
ben
<ben@cda61777-01e9-0310-a592-d414129be87e>
Mon, 25 Apr 2005 22:46:08 +0000
(22:46 +0000)
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
unix/gtkwin.c
patch
|
blob
|
blame
|
history
diff --git
a/unix/gtkwin.c
b/unix/gtkwin.c
index
2f4943d
..
d6734f4
100644
(file)
--- a/
unix/gtkwin.c
+++ b/
unix/gtkwin.c
@@
-1419,7
+1419,7
@@
void palette_reset(void *frontend)
}
gdk_colormap_alloc_colors(inst->colmap, inst->cols, NALLCOLOURS,
- FALSE,
FALS
E, success);
+ FALSE,
TRU
E, success);
for (i = 0; i < NALLCOLOURS; i++) {
if (!success[i])
g_error("%s: couldn't allocate colour %d (#%02x%02x%02x)\n",