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

Diff for /src/usr.bin/tmux/cmd-find.c between version 1.37 and 1.38

version 1.37, 2016/10/16 19:04:05 version 1.38, 2016/10/16 22:06:40
Line 228 
Line 228 
         struct winlink   *wl, *wl_loop;          struct winlink   *wl, *wl_loop;
   
         wl = NULL;          wl = NULL;
         if (fs->s->curw->window == fs->w)          if (fs->s->curw != NULL && fs->s->curw->window == fs->w)
                 wl = fs->s->curw;                  wl = fs->s->curw;
         else {          else {
                 RB_FOREACH(wl_loop, winlinks, &fs->s->windows) {                  RB_FOREACH(wl_loop, winlinks, &fs->s->windows) {

Legend:
Removed from v.1.37  
changed lines
  Added in v.1.38