From e7f68a089eec93799c098c570c03047f84638a73 Mon Sep 17 00:00:00 2001 From: Nicholas Marriott Date: Thu, 3 Jan 2008 19:18:14 +0000 Subject: Write status across entire line. --- status.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'status.c') diff --git a/status.c b/status.c index 5ab5a6c5..8d0f778b 100644 --- a/status.c +++ b/status.c @@ -1,4 +1,4 @@ -/* $Id: status.c,v 1.15 2007-12-06 09:46:23 nicm Exp $ */ +/* $Id: status.c,v 1.16 2008-01-03 19:18:14 nicm Exp $ */ /* * Copyright (c) 2007 Nicholas Marriott @@ -49,7 +49,7 @@ status_write_client(struct client *c) screen_redraw_write_string( &ctx, "%d:%s%c ", wl->idx, wl->window->name, flag); - if (ctx.s->cx >= screen_last_x(ctx.s)) + if (ctx.s->cx > screen_size_x(ctx.s)) break; } screen_redraw_clear_end_of_line(&ctx); -- cgit