summaryrefslogtreecommitdiff
path: root/src/bar.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/bar.c')
-rw-r--r--src/bar.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bar.c b/src/bar.c
index 15f0090..24380e8 100644
--- a/src/bar.c
+++ b/src/bar.c
@@ -104,7 +104,7 @@ update_window_names (screen_info *s)
sbuf_clear (bar_buffer);
- for (w = rp_window_tail; w; w = w->prev)
+ for (w = rp_window_head; w; w = w->next)
{
PRINT_DEBUG ("%d-%s\n", w->number, w->name);