From f9451028c0a7d3d53aa3aa2549bd9d632e9fc3b1 Mon Sep 17 00:00:00 2001 From: Tiago Cunha Date: Thu, 19 Nov 2009 22:35:10 +0000 Subject: Sync OpenBSD patchset 553: Two new options, window-status-format and window-status-current-format, which allow the format of each window in the status line window list to be controlled using similar # sequences as status-left/right. This diff also moves part of the way towards UTF-8 support in window names but it isn't quite there yet. --- cmd-display-message.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'cmd-display-message.c') diff --git a/cmd-display-message.c b/cmd-display-message.c index 70e398b3..36266d32 100644 --- a/cmd-display-message.c +++ b/cmd-display-message.c @@ -1,4 +1,4 @@ -/* $Id: cmd-display-message.c,v 1.5 2009-11-19 22:25:52 tcunha Exp $ */ +/* $Id: cmd-display-message.c,v 1.6 2009-11-19 22:35:10 tcunha Exp $ */ /* * Copyright (c) 2009 Tiago Cunha @@ -55,7 +55,7 @@ cmd_display_message_exec(struct cmd *self, struct cmd_ctx *ctx) else template = data->arg; - msg = status_replace(c, template, time(NULL), 0); + msg = status_replace(c, NULL, template, time(NULL), 0); status_message_set(c, "%s", msg); xfree(msg); -- cgit