1
0
mirror of https://git.tartarus.org/simon/putty.git synced 2025-07-15 10:07:39 -05:00

provide_xrm_string: report a more sensible program name.

It was always issuing an error message beginning "pterm:", even when
the application was GTK PuTTY or Unix Plink.
This commit is contained in:
Simon Tatham
2019-04-13 19:12:53 +01:00
parent 2692bfe8ee
commit 56198afb5c
4 changed files with 10 additions and 6 deletions

View File

@ -515,7 +515,7 @@ bool do_cmdline(int argc, char **argv, bool do_everything, Conf *conf)
} else if (!strcmp(p, "-xrm")) {
EXPECTS_ARG;
provide_xrm_string(val);
provide_xrm_string(val, appname);
} else if(!strcmp(p, "-help") || !strcmp(p, "--help")) {
help(stdout);