~mdw
/
sgt
/
putty
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7da629c
)
Fix a stupid one-character typo that was breaking 256-colour support on GTK.
author
ben
<ben@cda61777-01e9-0310-a592-d414129be87e>
Mon, 19 Mar 2007 12:05:34 +0000
(12:05 +0000)
committer
ben
<ben@cda61777-01e9-0310-a592-d414129be87e>
Mon, 19 Mar 2007 12:05:34 +0000
(12:05 +0000)
git-svn-id: svn://svn.tartarus.org/sgt/putty@7403
cda61777
-01e9-0310-a592-
d414129be87e
unix/gtkwin.c
patch
|
blob
|
blame
|
history
diff --git
a/unix/gtkwin.c
b/unix/gtkwin.c
index
388d422
..
a377ad6
100644
(file)
--- a/
unix/gtkwin.c
+++ b/
unix/gtkwin.c
@@
-1434,7
+1434,7
@@
void palette_reset(void *frontend)
int r = i / 36, g = (i / 6) % 6, b = i % 6;
inst->cols[i+16].red = r ? r * 0x2828 + 0x3737 : 0;
inst->cols[i+16].green = g ? g * 0x2828 + 0x3737 : 0;
- inst->cols[i+16].blue = b ? b
+
0x2828 + 0x3737 : 0;
+ inst->cols[i+16].blue = b ? b
*
0x2828 + 0x3737 : 0;
} else {
int shade = i - 216;
shade = shade * 0x0a0a + 0x0808;