Skip to content

Commit

Permalink
correct indentation; no functional change
Browse files Browse the repository at this point in the history
ok tb@
  • Loading branch information
jsg committed Apr 23, 2024
1 parent e8530c9 commit ea9f416
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions cmd-queue.c
Original file line number Diff line number Diff line change
Expand Up @@ -806,10 +806,10 @@ cmdq_running(struct client *c)
struct cmdq_list *queue = cmdq_get(c);

if (queue->item == NULL)
return (NULL);
if (queue->item->flags & CMDQ_WAITING)
return (NULL);
return (queue->item);
return (NULL);
if (queue->item->flags & CMDQ_WAITING)
return (NULL);
return (queue->item);
}

/* Print a guard line. */
Expand Down
2 changes: 1 addition & 1 deletion window-copy.c
Original file line number Diff line number Diff line change
Expand Up @@ -4694,7 +4694,7 @@ window_copy_get_selection(struct window_mode_entry *wme, size_t *len)
if (keys == MODEKEY_EMACS || lastex <= ey_last) {
if (~grid_get_line(data->backing->grid, ey)->flags &
GRID_LINE_WRAPPED || lastex != ey_last)
off -= 1;
off -= 1;
}
*len = off;
return (buf);
Expand Down

0 comments on commit ea9f416

Please sign in to comment.