~mdw
/
sgt
/
putty
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
A collection of small bug fixes from Chris West, apparently spotted by
[sgt/putty]
/
unix
/
gtkwin.c
diff --git
a/unix/gtkwin.c
b/unix/gtkwin.c
index
da40e54
..
f403a80
100644
(file)
--- a/
unix/gtkwin.c
+++ b/
unix/gtkwin.c
@@
-1597,7
+1597,7
@@
void palette_set(void *frontend, int n, int r, int g, int b)
struct gui_data *inst = (struct gui_data *)frontend;
if (n >= 16)
n += 256 - 16;
- if (n > NALLCOLOURS)
+ if (n >
=
NALLCOLOURS)
return;
real_palette_set(inst, n, r, g, b);
if (n == 258) {