]> asedeno.scripts.mit.edu Git - PuTTY.git/commitdiff
Revert the default for font bolding style back to using colours rather
authorSimon Tatham <anakin@pobox.com>
Wed, 7 Aug 2013 06:22:52 +0000 (06:22 +0000)
committerSimon Tatham <anakin@pobox.com>
Wed, 7 Aug 2013 06:22:52 +0000 (06:22 +0000)
than fonts. I broke this in r9559 when I added the option for 'both',
because the internal representation got offset by one so as to change
from a boolean to two bitfields and I must have confused myself about
what the default should be.

[originally from svn r10008]
[r9559 == bc6e0952ef1c27c577318ee3c0883c7823c7005b]

settings.c

index 6499686bb22aeac791e99fd2279dd7575914f7ea..df24f53d1087f0ff93238b59c2496662a665d6b2 100644 (file)
@@ -866,7 +866,7 @@ void load_open_settings(void *sesskey, Conf *conf)
     gppi(sesskey, "TryPalette", 0, conf, CONF_try_palette);
     gppi(sesskey, "ANSIColour", 1, conf, CONF_ansi_colour);
     gppi(sesskey, "Xterm256Colour", 1, conf, CONF_xterm_256_colour);
-    i = gppi_raw(sesskey, "BoldAsColour", 0); conf_set_int(conf, CONF_bold_style, i+1);
+    i = gppi_raw(sesskey, "BoldAsColour", 1); conf_set_int(conf, CONF_bold_style, i+1);
 
     for (i = 0; i < 22; i++) {
        static const char *const defaults[] = {