Differences From Artifact [9ff2cab26d]:
- File window.c — part of check-in [bc05912afb] at 2000-10-18 10:36:32 on branch trunk — Miscellaneous cleanups and reorgs in preparation for building PuTTYgen. In particular, moved self-managing controls stuff out of windlg.c into the new and reusable winctrls.c. (user: simon size: 69007)
To Artifact [ba8860f7b7]:
- File window.c — part of check-in [889672b0ee] at 2000-10-20 08:23:24 on branch trunk — Trim trailing whitespace off saved session names on the command line (user: simon size: 69094)
| ︙ | ︙ | |||
194 195 196 197 198 199 200 201 202 203 204 205 206 207 |
p = q + strspn(q, " \t");
}
/*
* An initial @ means to activate a saved session.
*/
if (*p == '@') {
do_defaults (p+1, &cfg);
if (!*cfg.host && !do_config()) {
WSACleanup();
return 0;
}
} else if (*p == '&') {
/*
| > > > > | 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 |
p = q + strspn(q, " \t");
}
/*
* An initial @ means to activate a saved session.
*/
if (*p == '@') {
int i = strlen(p);
while (i > 1 && isspace(p[i-1]))
i--;
p[i] = '\0';
do_defaults (p+1, &cfg);
if (!*cfg.host && !do_config()) {
WSACleanup();
return 0;
}
} else if (*p == '&') {
/*
|
| ︙ | ︙ |