summaryrefslogtreecommitdiff
path: root/src/window.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/window.c')
-rw-r--r--src/window.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/src/window.c b/src/window.c
index 88403cf..9b75dab 100644
--- a/src/window.c
+++ b/src/window.c
@@ -661,12 +661,7 @@ get_window_list (char *fmt, char *delim, struct sbuf *buffer,
if (we->win == current_window())
{
- if(defaults.window_list_style == STYLE_ROW)
- {
- *mark_end = strlen (sbuf_get (buffer));
- } else {
- *mark_end = strlen (sbuf_get(buffer)) - *mark_start;
- }
+ *mark_end = strlen (sbuf_get (buffer));
}
}