~mdw
/
sgt
/
putty
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
376eafb
)
Make palette changes use "best match" colours too.
author
ben
<ben@cda61777-01e9-0310-a592-d414129be87e>
Wed, 27 Apr 2005 20:30:47 +0000
(20:30 +0000)
committer
ben
<ben@cda61777-01e9-0310-a592-d414129be87e>
Wed, 27 Apr 2005 20:30:47 +0000
(20:30 +0000)
git-svn-id: svn://svn.tartarus.org/sgt/putty@5695
cda61777
-01e9-0310-a592-
d414129be87e
unix/gtkwin.c
patch
|
blob
|
blame
|
history
diff --git
a/unix/gtkwin.c
b/unix/gtkwin.c
index
d6734f4
..
9838250
100644
(file)
--- a/
unix/gtkwin.c
+++ b/
unix/gtkwin.c
@@
-1352,7
+1352,7
@@
static void real_palette_set(struct gui_data *inst, int n, int r, int g, int b)
gdk_colormap_free_colors(inst->colmap, inst->cols + n, 1);
gdk_colormap_alloc_colors(inst->colmap, inst->cols + n, 1,
- FALSE,
FALS
E, success);
+ FALSE,
TRU
E, success);
if (!success[0])
g_error("%s: couldn't allocate colour %d (#%02x%02x%02x)\n", appname,
n, r, g, b);