-/* $OpenBSD: mode-tree.c,v 1.3 2017/06/07 14:37:30 nicm Exp $ */
+/* $OpenBSD: mode-tree.c,v 1.4 2017/06/07 15:27:46 nicm Exp $ */
/*
* Copyright (c) 2017 Nicholas Marriott <nicholas.marriott@gmail.com>
continue;
}
if (mtd->searchcb(mtd->modedata, mti->itemdata, mtd->ss))
- return (mti);
+ return (mti);
}
return (NULL);
}
-/* $OpenBSD: proc.c,v 1.9 2017/06/04 08:25:57 nicm Exp $ */
+/* $OpenBSD: proc.c,v 1.10 2017/06/07 15:27:46 nicm Exp $ */
/*
* Copyright (c) 2015 Nicholas Marriott <nicholas.marriott@gmail.com>
#define PEER_BAD 0x1
void (*dispatchcb)(struct imsg *, void *);
- void *arg;
+ void *arg;
};
static int peer_check_version(struct tmuxpeer *, struct imsg *);
-/* $OpenBSD: tmux.h,v 1.782 2017/06/07 14:37:30 nicm Exp $ */
+/* $OpenBSD: tmux.h,v 1.783 2017/06/07 15:27:46 nicm Exp $ */
/*
* Copyright (c) 2007 Nicholas Marriott <nicholas.marriott@gmail.com>
job_free_cb freecb;
void *data;
- LIST_ENTRY(job) entry;
+ LIST_ENTRY(job) entry;
};
LIST_HEAD(joblist, job);
struct screen_write_collect_item *item;
struct screen_write_collect_line *list;
u_int scrolled;
- u_int bg;
+ u_int bg;
u_int cells;
u_int written;
-/* $OpenBSD: window-buffer.c,v 1.4 2017/06/07 14:37:30 nicm Exp $ */
+/* $OpenBSD: window-buffer.c,v 1.5 2017/06/07 15:27:46 nicm Exp $ */
/*
* Copyright (c) 2017 Nicholas Marriott <nicholas.marriott@gmail.com>
if ((pb = paste_get_name(item->name)) == NULL)
return (0);
if (strstr(item->name, ss) != NULL)
- return (0);
+ return (1);
bufdata = paste_buffer_data(pb, &bufsize);
return (memmem(bufdata, bufsize, ss, strlen(ss)) != NULL);
}