putty/0001-Revert-the-default-for-font-bolding-style.patch

31 lines
1.3 KiB
Diff

From dbc1513565d852397c7d1c189ed23a48aa4fcff7 Mon Sep 17 00:00:00 2001
From: simon <simon@cda61777-01e9-0310-a592-d414129be87e>
Date: Wed, 7 Aug 2013 06:22:52 +0000
Subject: [PATCH] Revert the default for font bolding style back to using
colours rather 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.
git-svn-id: svn://svn.tartarus.org/sgt/putty@10008 cda61777-01e9-0310-a592-d414129be87e
---
settings.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/settings.c b/settings.c
index 6499686..df24f53 100644
--- a/settings.c
+++ b/settings.c
@@ -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[] = {
--
1.8.2