mirror of
https://git.tartarus.org/simon/putty.git
synced 2025-01-10 01:48: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:
parent
da3197f395
commit
cd32ef8733
@ -4171,7 +4171,7 @@ static void term_out(Terminal *term)
|
|||||||
* The 39 and 49 attributes are likely to be
|
* The 39 and 49 attributes are likely to be
|
||||||
* unimplemented.
|
* 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)) {
|
switch (def(term->esc_args[i], 0)) {
|
||||||
case 0: /* restore defaults */
|
case 0: /* restore defaults */
|
||||||
term->curr_attr = term->default_attr;
|
term->curr_attr = term->default_attr;
|
||||||
@ -4360,7 +4360,6 @@ static void term_out(Terminal *term)
|
|||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
|
||||||
set_erase_char(term);
|
set_erase_char(term);
|
||||||
break;
|
break;
|
||||||
case 's': /* save cursor */
|
case 's': /* save cursor */
|
||||||
|
Loading…
Reference in New Issue
Block a user