1
0
mirror of https://git.tartarus.org/simon/putty.git synced 2025-01-09 17:38:00 +00:00

Indentation fixes in terminal.c.

While working on the palette code I noticed several sections where a
2-space indent policy was used. Let's keep things consistent.

This patch is whitespace-only, with the single exception that I've
removed a pair of braces where a for statement contains only a switch
(and, cheatingly, put the for and switch on the same indent level so
that the interior of it doesn't go _too_ far off to the right).
This commit is contained in:
Simon Tatham 2021-02-07 19:59:20 +00:00
parent da3197f395
commit cd32ef8733

View File

@ -4171,7 +4171,7 @@ static void term_out(Terminal *term)
* The 39 and 49 attributes are likely to be
* unimplemented.
*/
for (int i = 0; i < term->esc_nargs; i++) {
for (int i = 0; i < term->esc_nargs; i++)
switch (def(term->esc_args[i], 0)) {
case 0: /* restore defaults */
term->curr_attr = term->default_attr;
@ -4360,7 +4360,6 @@ static void term_out(Terminal *term)
}
break;
}
}
set_erase_char(term);
break;
case 's': /* save cursor */