=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/tmux/cmd-if-shell.c,v retrieving revision 1.33 retrieving revision 1.34 diff -c -r1.33 -r1.34 *** src/usr.bin/tmux/cmd-if-shell.c 2015/09/16 22:24:54 1.33 --- src/usr.bin/tmux/cmd-if-shell.c 2015/10/31 08:13:58 1.34 *************** *** 1,4 **** ! /* $OpenBSD: cmd-if-shell.c,v 1.33 2015/09/16 22:24:54 nicm Exp $ */ /* * Copyright (c) 2009 Tiago Cunha --- 1,4 ---- ! /* $OpenBSD: cmd-if-shell.c,v 1.34 2015/10/31 08:13:58 nicm Exp $ */ /* * Copyright (c) 2009 Tiago Cunha *************** *** 66,72 **** struct winlink *wl = NULL; struct window_pane *wp = NULL; struct format_tree *ft; ! int cwd; if (args_has(args, 't')) { wl = cmd_find_pane(cmdq, args_get(args, 't'), &s, &wp); --- 66,72 ---- struct winlink *wl = NULL; struct window_pane *wp = NULL; struct format_tree *ft; ! const char *cwd; if (args_has(args, 't')) { wl = cmd_find_pane(cmdq, args_get(args, 't'), &s, &wp); *************** *** 83,89 **** else if (s != NULL) cwd = s->cwd; else ! cwd = -1; } ft = format_create(); --- 83,89 ---- else if (s != NULL) cwd = s->cwd; else ! cwd = NULL; } ft = format_create();