From 342690f7cb089ec2888b46a2e1b7a993b964bac5 Mon Sep 17 00:00:00 2001 From: Jacob Nevins Date: Sat, 1 Oct 2011 18:00:49 +0000 Subject: [PATCH] Fix copy-and-paste error in command-line font selection in r9314. [originally from svn r9315] [r9314 == 9c75fe9a3fa5e6b709f1c210795d1140ca1be2e8] --- unix/gtkwin.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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")) {