From 1c608031b596f6e92e575a16a7acd56fb3b78f70 Mon Sep 17 00:00:00 2001 From: Tiago Cunha Date: Fri, 31 Aug 2012 09:18:50 +0000 Subject: Sync OpenBSD patchset 1162: Use a separate define for each default format template and strip clutter from the choose-tree defaults. --- cmd-list-windows.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'cmd-list-windows.c') diff --git a/cmd-list-windows.c b/cmd-list-windows.c index cdebd360..3be8ade8 100644 --- a/cmd-list-windows.c +++ b/cmd-list-windows.c @@ -85,12 +85,10 @@ cmd_list_windows_session( if (template == NULL) { switch (type) { case 0: - template = DEFAULT_WINDOW_TEMPLATE \ - " [layout #{window_layout}] #{window_id}" \ - "#{?window_active, (active),}"; + template = LIST_WINDOWS_TEMPLATE; break; case 1: - template = "#{session_name}:" DEFAULT_WINDOW_TEMPLATE; + template = LIST_WINDOWS_WITH_SESSION_TEMPLATE; break; } } -- cgit