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

Diff for /src/usr.bin/tmux/server-fn.c between version 1.33 and 1.34

version 1.33, 2010/01/03 12:51:05 version 1.34, 2010/01/23 21:07:31
Line 260 
Line 260 
                 s = ARRAY_ITEM(&sessions, i);                  s = ARRAY_ITEM(&sessions, i);
                 if (s == NULL || !session_has(s, w))                  if (s == NULL || !session_has(s, w))
                         continue;                          continue;
                 if ((wl = winlink_find_by_window(&s->windows, w)) == NULL)                  while ((wl = winlink_find_by_window(&s->windows, w)) != NULL) {
                         continue;                          if (session_detach(s, wl)) {
                                   server_destroy_session_group(s);
                 if (session_detach(s, wl))                                  break;
                         server_destroy_session_group(s);                          } else
                 else                                  server_redraw_session_group(s);
                         server_redraw_session_group(s);                  }
         }          }
 }  }
   

Legend:
Removed from v.1.33  
changed lines
  Added in v.1.34