[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.1 and 1.2

version 1.1, 2013/03/24 09:54:10 version 1.2, 2013/03/25 10:05:00
Line 207 
Line 207 
                         if (guards)                          if (guards)
                                 cmdq_print(cmdq, "%%begin");                                  cmdq_print(cmdq, "%%begin");
                         retval = cmdq->cmd->entry->exec(cmdq->cmd, cmdq);                          retval = cmdq->cmd->entry->exec(cmdq->cmd, cmdq);
                         if (guards)                          if (guards) {
                                 cmdq_print(cmdq, "%%end");                                  if (retval == CMD_RETURN_ERROR)
                                           cmdq_print(cmdq, "%%error");
                                   else
                                           cmdq_print(cmdq, "%%end");
                           }
   
                         if (retval == CMD_RETURN_ERROR)                          if (retval == CMD_RETURN_ERROR)
                                 break;                                  break;

Legend:
Removed from v.1.1  
changed lines
  Added in v.1.2