From: jacob Date: Sat, 1 Oct 2011 18:00:49 +0000 (+0000) Subject: Fix copy-and-paste error in command-line font selection in r9314. X-Git-Url: https://git.distorted.org.uk/~mdw/sgt/putty/commitdiff_plain/ff160c277c526d7cbadf3952cbe8f2d58452f0ec Fix copy-and-paste error in command-line font selection in r9314. git-svn-id: svn://svn.tartarus.org/sgt/putty@9315 cda61777-01e9-0310-a592-d414129be87e --- diff --git a/unix/gtkwin.c b/unix/gtkwin.c index 996e424d..e2e672e2 100644 --- a/unix/gtkwin.c +++ b/unix/gtkwin.c @@ -2551,7 +2551,7 @@ int do_cmdline(int argc, char **argv, int do_everything, int *allow_launch, EXPECTS_ARG; SECOND_PASS_ONLY; fs = fontspec_new(val); - conf_set_fontspec(conf, CONF_font, fs); + conf_set_fontspec(conf, CONF_boldfont, fs); fontspec_free(fs); } else if (!strcmp(p, "-fw")) { @@ -2559,7 +2559,7 @@ int do_cmdline(int argc, char **argv, int do_everything, int *allow_launch, EXPECTS_ARG; SECOND_PASS_ONLY; fs = fontspec_new(val); - conf_set_fontspec(conf, CONF_font, fs); + conf_set_fontspec(conf, CONF_widefont, fs); fontspec_free(fs); } else if (!strcmp(p, "-fwb")) { @@ -2567,7 +2567,7 @@ int do_cmdline(int argc, char **argv, int do_everything, int *allow_launch, EXPECTS_ARG; SECOND_PASS_ONLY; fs = fontspec_new(val); - conf_set_fontspec(conf, CONF_font, fs); + conf_set_fontspec(conf, CONF_wideboldfont, fs); fontspec_free(fs); } else if (!strcmp(p, "-cs")) {