mirror of
https://github.com/tmate-io/tmate-ssh-server.git
synced 2020-11-18 19:53:51 -08:00
Spacing, warning nits.
This commit is contained in:
parent
e97e0d7e54
commit
b5fda7ad2a
3
grid.c
3
grid.c
@ -725,7 +725,7 @@ void
|
|||||||
grid_reflow_split(struct grid *dst, u_int *py, struct grid_line *src_gl,
|
grid_reflow_split(struct grid *dst, u_int *py, struct grid_line *src_gl,
|
||||||
u_int new_x, u_int offset)
|
u_int new_x, u_int offset)
|
||||||
{
|
{
|
||||||
struct grid_line *dst_gl;
|
struct grid_line *dst_gl = NULL;
|
||||||
u_int to_copy;
|
u_int to_copy;
|
||||||
|
|
||||||
/* Loop and copy sections of the source line. */
|
/* Loop and copy sections of the source line. */
|
||||||
@ -756,6 +756,7 @@ grid_reflow_split(struct grid *dst, u_int *py, struct grid_line *src_gl,
|
|||||||
}
|
}
|
||||||
|
|
||||||
/* Last line is not wrapped. */
|
/* Last line is not wrapped. */
|
||||||
|
if (dst_gl != NULL)
|
||||||
dst_gl->flags &= ~GRID_LINE_WRAPPED;
|
dst_gl->flags &= ~GRID_LINE_WRAPPED;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user