1
0
mirror of https://git.tartarus.org/simon/putty.git synced 2025-01-10 01:48:00 +00:00

Missed a couple of instances of cfg_launchable().

[originally from svn r6824]
This commit is contained in:
Simon Tatham 2006-08-28 17:41:02 +00:00
parent 631b494807
commit 38ebd5f5ba

View File

@ -409,7 +409,7 @@ int WINAPI WinMain(HINSTANCE inst, HINSTANCE prev, LPSTR cmdline, int show)
i--;
p[i] = '\0';
do_defaults(p + 1, &cfg);
if (!*cfg.host && !do_config()) {
if (!cfg_launchable(&cfg) && !do_config()) {
cleanup_exit(0);
}
} else if (*p == '&') {
@ -554,7 +554,7 @@ int WINAPI WinMain(HINSTANCE inst, HINSTANCE prev, LPSTR cmdline, int show)
cmdline_run_saved(&cfg);
if (!*cfg.host && !do_config()) {
if (!cfg_launchable(&cfg) && !do_config()) {
cleanup_exit(0);
}