=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/tmux/window.c,v retrieving revision 1.253 retrieving revision 1.254 diff -c -r1.253 -r1.254 *** src/usr.bin/tmux/window.c 2020/04/06 17:51:34 1.253 --- src/usr.bin/tmux/window.c 2020/04/09 13:49:21 1.254 *************** *** 1,4 **** ! /* $OpenBSD: window.c,v 1.253 2020/04/06 17:51:34 nicm Exp $ */ /* * Copyright (c) 2007 Nicholas Marriott --- 1,4 ---- ! /* $OpenBSD: window.c,v 1.254 2020/04/09 13:49:21 nicm Exp $ */ /* * Copyright (c) 2007 Nicholas Marriott *************** *** 1213,1219 **** } log_debug("%s: %s", __func__, line); if (!regex) ! found = (fnmatch(new, line, 0) == 0); else found = (regexec(&r, line, 0, NULL, 0) == 0); free(line); --- 1213,1219 ---- } log_debug("%s: %s", __func__, line); if (!regex) ! found = (fnmatch(new, line, flags) == 0); else found = (regexec(&r, line, 0, NULL, 0) == 0); free(line);