Return to grid.c CVS log | Up to [local] / src / usr.bin / tmux |
version 1.77, 2017/09/11 06:40:46 | version 1.78, 2017/11/03 17:02:33 | ||
---|---|---|---|
|
|
||
static int | static int | ||
grid_check_y(struct grid *gd, u_int py) | grid_check_y(struct grid *gd, u_int py) | ||
{ | { | ||
if ((py) >= (gd)->hsize + (gd)->sy) { | if (py >= gd->hsize + gd->sy) { | ||
log_debug("y out of range: %u", py); | log_debug("y out of range: %u", py); | ||
return (-1); | return (-1); | ||
} | } |