Fix a stupid one-character typo that was breaking 256-colour support on GTK.
authorben <ben@cda61777-01e9-0310-a592-d414129be87e>
Mon, 19 Mar 2007 12:05:34 +0000 (12:05 +0000)
committerben <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

index 388d422..a377ad6 100644 (file)
@@ -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;