1
0
mirror of https://git.tartarus.org/simon/putty.git synced 2025-07-01 03:22:48 -05:00

Formatting: normalise to { on same line.

There were remarkably few of these, but I spotted one while preparing
the previous commit, and then found a handful more.
This commit is contained in:
Simon Tatham
2022-12-28 15:37:57 +00:00
parent d509a2dc1e
commit add3f89005
6 changed files with 12 additions and 24 deletions

View File

@ -1707,8 +1707,7 @@ void select_result(WPARAM wParam, LPARAM lParam)
memset(&isa, 0, sizeof(isa));
err = 0;
t = p_accept(s->s,(struct sockaddr *)&isa,&addrlen);
if (t == INVALID_SOCKET)
{
if (t == INVALID_SOCKET) {
err = p_WSAGetLastError();
if (err == WSATRY_AGAIN)
break;

View File

@ -2816,8 +2816,7 @@ static LRESULT CALLBACK WndProc(HWND hwnd, UINT message,
p.rcPaint.left < offset_width ||
p.rcPaint.top < offset_height ||
p.rcPaint.right >= offset_width + font_width*wgs->term->cols ||
p.rcPaint.bottom>= offset_height + font_height*wgs->term->rows)
{
p.rcPaint.bottom>= offset_height + font_height*wgs->term->rows) {
HBRUSH fillcolour, oldbrush;
HPEN edge, oldpen;
fillcolour = CreateSolidBrush (