mirror of
https://git.tartarus.org/simon/putty.git
synced 2025-07-01 11:32:48 -05:00
Formatting: normalise back to 4-space indentation.
In several pieces of development recently I've run across the occasional code block in the middle of a function which suddenly switched to 2-space indent from this code base's usual 4. I decided I was tired of it, so I ran the whole code base through a re-indenter, which made a huge mess, and then manually sifted out the changes that actually made sense from that pass. Indeed, this caught quite a few large sections with 2-space indent level, a couple with 8, and a handful of even weirder things like 3 spaces or 12. This commit fixes them all.
This commit is contained in:
@ -717,15 +717,15 @@ static char *supdup_init(const BackendVtable *x, Seat *seat,
|
||||
*backend_handle = &supdup->backend;
|
||||
|
||||
switch (conf_get_int(supdup->conf, CONF_supdup_ascii_set)) {
|
||||
case SUPDUP_CHARSET_ASCII:
|
||||
supdup->print = print_ascii;
|
||||
break;
|
||||
case SUPDUP_CHARSET_ITS:
|
||||
supdup->print = print_its;
|
||||
break;
|
||||
case SUPDUP_CHARSET_WAITS:
|
||||
supdup->print = print_waits;
|
||||
break;
|
||||
case SUPDUP_CHARSET_ASCII:
|
||||
supdup->print = print_ascii;
|
||||
break;
|
||||
case SUPDUP_CHARSET_ITS:
|
||||
supdup->print = print_its;
|
||||
break;
|
||||
case SUPDUP_CHARSET_WAITS:
|
||||
supdup->print = print_waits;
|
||||
break;
|
||||
}
|
||||
|
||||
/*
|
||||
|
@ -452,7 +452,7 @@ static void process_subneg(Telnet *telnet)
|
||||
eval != NULL;
|
||||
eval = conf_get_str_strs(telnet->conf, CONF_environmt,
|
||||
ekey, &ekey))
|
||||
bsize += strlen(ekey) + strlen(eval) + 2;
|
||||
bsize += strlen(ekey) + strlen(eval) + 2;
|
||||
user = get_remote_username(telnet->conf);
|
||||
if (user)
|
||||
bsize += 6 + strlen(user);
|
||||
|
Reference in New Issue
Block a user