mirror of
https://git.tartarus.org/simon/putty.git
synced 2025-06-30 11:02:48 -05:00
Fix copy-and-paste error in command-line font selection in r9314.
[originally from svn r9315]
[r9314 == 9c75fe9a3f
]
This commit is contained in:
@ -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")) {
|
||||
|
Reference in New Issue
Block a user