Fix copy-and-paste error in command-line font selection in r9314.
authorjacob <jacob@cda61777-01e9-0310-a592-d414129be87e>
Sat, 1 Oct 2011 18:00:49 +0000 (18:00 +0000)
committerjacob <jacob@cda61777-01e9-0310-a592-d414129be87e>
Sat, 1 Oct 2011 18:00:49 +0000 (18:00 +0000)
git-svn-id: svn://svn.tartarus.org/sgt/putty@9315 cda61777-01e9-0310-a592-d414129be87e

unix/gtkwin.c

index 996e424..e2e672e 100644 (file)
@@ -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")) {