]> asedeno.scripts.mit.edu Git - PuTTY_svn.git/blobdiff - unix/gtkwin.c
Fix copy-and-paste error in command-line font selection in r9314.
[PuTTY_svn.git] / unix / gtkwin.c
index 996e424df785a64b4f262c4a9228fcfbbe419492..e2e672e2325d6d5ba77fde33a5dc3361c891d5fd 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")) {