=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/tmux/cmd-display-message.c,v retrieving revision 1.41 retrieving revision 1.42 diff -c -r1.41 -r1.42 *** src/usr.bin/tmux/cmd-display-message.c 2017/04/22 10:22:39 1.41 --- src/usr.bin/tmux/cmd-display-message.c 2017/05/01 12:20:55 1.42 *************** *** 1,4 **** ! /* $OpenBSD: cmd-display-message.c,v 1.41 2017/04/22 10:22:39 nicm Exp $ */ /* * Copyright (c) 2009 Tiago Cunha --- 1,4 ---- ! /* $OpenBSD: cmd-display-message.c,v 1.42 2017/05/01 12:20:55 nicm Exp $ */ /* * Copyright (c) 2009 Tiago Cunha *************** *** 73,79 **** if (template == NULL) template = DISPLAY_MESSAGE_TEMPLATE; ! ft = format_create(item, FORMAT_NONE, 0); format_defaults(ft, c, s, wl, wp); msg = format_expand_time(ft, template, time(NULL)); --- 73,79 ---- if (template == NULL) template = DISPLAY_MESSAGE_TEMPLATE; ! ft = format_create(item->client, item, FORMAT_NONE, 0); format_defaults(ft, c, s, wl, wp); msg = format_expand_time(ft, template, time(NULL));