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

Diff for /src/usr.bin/tmux/cmd-queue.c between version 1.99 and 1.100

version 1.99, 2020/07/27 08:03:10 version 1.100, 2020/11/30 13:37:45
Line 768 
Line 768 
 {  {
         struct cmdq_list        *queue = cmdq_get(c);          struct cmdq_list        *queue = cmdq_get(c);
   
         return (queue->item);          if (queue->item == NULL)
           return (NULL);
       if (queue->item->flags & CMDQ_WAITING)
           return (NULL);
       return (queue->item);
 }  }
   
 /* Print a guard line. */  /* Print a guard line. */

Legend:
Removed from v.1.99  
changed lines
  Added in v.1.100