Skip to content

Commit

Permalink
Remove trailing newlines, spaces, and tabs.
Browse files Browse the repository at this point in the history
No binary change.
  • Loading branch information
Ray Lai committed Jun 5, 2009
1 parent 85e0d8a commit 74749e8
Show file tree
Hide file tree
Showing 7 changed files with 5 additions and 11 deletions.
1 change: 0 additions & 1 deletion cmd-attach-session.c
Original file line number Diff line number Diff line change
Expand Up @@ -77,4 +77,3 @@ cmd_attach_session_exec(struct cmd *self, struct cmd_ctx *ctx)

return (1);
}

2 changes: 1 addition & 1 deletion cmd-rotate-window.c
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ cmd_rotate_window_exec(struct cmd *self, struct cmd_ctx *ctx)
TAILQ_INSERT_HEAD(&w->panes, wp, entry);

xoff = wp->xoff; yoff = wp->yoff;
sx = wp->sx; sy = wp->sy;
sx = wp->sx; sy = wp->sy;
flags = w->flags;
TAILQ_FOREACH(wp, &w->panes, entry) {
if ((wp2 = TAILQ_NEXT(wp, entry)) == NULL)
Expand Down
2 changes: 0 additions & 2 deletions grid.c
Original file line number Diff line number Diff line change
Expand Up @@ -493,5 +493,3 @@ grid_move_cells(struct grid *gd, u_int dx, u_int px, u_int py, u_int nx)
grid_put_cell(gd, xx, py, &grid_default_cell);
}
}


1 change: 0 additions & 1 deletion names.c
Original file line number Diff line number Diff line change
Expand Up @@ -107,4 +107,3 @@ parse_window_name(const char *in)
xfree(copy);
return (name);
}

8 changes: 4 additions & 4 deletions screen-write.c
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ screen_write_strlen(int utf8flag, const char *fmt, ...)
size++;
ptr++;
}
}
}

return (size);
}
Expand Down Expand Up @@ -148,7 +148,7 @@ screen_write_vnputs(struct screen_write_ctx *ctx, ssize_t maxlen,
*utf8buf = *ptr;
ptr++;
}

width = utf8_width(utf8buf);
if (maxlen > 0 && size + width > (size_t) maxlen) {
while (size < (size_t) maxlen) {
Expand Down Expand Up @@ -301,12 +301,12 @@ screen_write_alignmenttest(struct screen_write_ctx *ctx)

memcpy(&gc, &grid_default_cell, sizeof gc);
gc.data = 'E';

for (yy = 0; yy < screen_size_y(s); yy++) {
for (xx = 0; xx < screen_size_x(s); xx++)
grid_view_set_cell(s->grid, xx, yy, &gc);
}

s->cx = 0;
s->cy = 0;

Expand Down
1 change: 0 additions & 1 deletion tty-term.c
Original file line number Diff line number Diff line change
Expand Up @@ -390,4 +390,3 @@ tty_term_flag(struct tty_term *term, enum tty_code_code code)
log_fatalx("not a flag: %d", code);
return (term->codes[code].value.flag);
}

1 change: 0 additions & 1 deletion tty-write.c
Original file line number Diff line number Diff line change
Expand Up @@ -88,4 +88,3 @@ tty_write_mode(struct window_pane *wp, int mode)
tty_update_mode(&c->tty, mode);
}
}

0 comments on commit 74749e8

Please sign in to comment.