Skip to content

Commit

Permalink
Minor cosmetic improvement from KOIE Hidetaka.
Browse files Browse the repository at this point in the history
  • Loading branch information
nicm committed Jun 24, 2018
1 parent d0c9923 commit dec6ec9
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions cmd-resize-pane.c
Expand Up @@ -131,12 +131,12 @@ cmd_resize_pane_mouse_update(struct client *c, struct mouse_event *m)
struct winlink *wl;
struct window *w;
u_int y, ly, x, lx;
struct layout_cell *cells[5], *lc;
u_int ncells = 0, i, j, resizes = 0;
enum layout_type type;
static const int offsets[nitems(cells)][2] = {
static const int offsets[][2] = {
{ 0, 0 }, { 0, 1 }, { 1, 0 }, { 0, -1 }, { -1, 0 },
};
struct layout_cell *cells[nitems(offsets)], *lc;
u_int ncells = 0, i, j, resizes = 0;
enum layout_type type;

wl = cmd_mouse_window(m, NULL);
if (wl == NULL) {
Expand Down

0 comments on commit dec6ec9

Please sign in to comment.