[BACK]Return to cmd.c CVS log [TXT][DIR] Up to [local] / src / usr.bin / tmux

Diff for /src/usr.bin/tmux/cmd.c between version 1.152 and 1.153

version 1.152, 2019/05/25 10:44:09 version 1.153, 2019/07/06 20:56:34
Line 597 
Line 597 
         }          }
         log_debug("%s: x=%u, y=%u%s", __func__, x, y, last ? " (last)" : "");          log_debug("%s: x=%u, y=%u%s", __func__, x, y, last ? " (last)" : "");
   
         if (m->statusat == 0 && y > 0)          if (m->statusat == 0 && y >= m->statuslines)
                 y--;                  y -= m->statuslines;
   
         if (x < wp->xoff || x >= wp->xoff + wp->sx)          if (x < wp->xoff || x >= wp->xoff + wp->sx)
                 return (-1);                  return (-1);

Legend:
Removed from v.1.152  
changed lines
  Added in v.1.153