mirror of
https://git.tartarus.org/simon/putty.git
synced 2025-07-06 22:12:47 -05:00
Lowercase version of BackendVtable's displayname.
The current 'displayname' field is designed for presenting in the config UI, so it starts with a capital letter even when it's not a proper noun. If I want to name the backend in the middle of a sentence, I'll need a version that starts with lowercase where appropriate. The old field is renamed displayname_tc, to avoid ambiguity.
This commit is contained in:
@ -835,7 +835,7 @@ int main(int argc, char **argv)
|
||||
if (backvt->flags & BACKEND_NEEDS_TERMINAL) {
|
||||
fprintf(stderr,
|
||||
"Plink doesn't support %s, which needs terminal emulation\n",
|
||||
backvt->displayname);
|
||||
backvt->displayname_lc);
|
||||
return 1;
|
||||
}
|
||||
|
||||
@ -912,7 +912,7 @@ int main(int argc, char **argv)
|
||||
if (just_test_share_exists) {
|
||||
if (!backvt->test_for_upstream) {
|
||||
fprintf(stderr, "Connection sharing not supported for this "
|
||||
"connection type (%s)'\n", backvt->displayname);
|
||||
"connection type (%s)'\n", backvt->displayname_lc);
|
||||
return 1;
|
||||
}
|
||||
if (backvt->test_for_upstream(conf_get_str(conf, CONF_host),
|
||||
|
Reference in New Issue
Block a user