diff options
author | Nicholas Marriott <nicholas.marriott@gmail.com> | 2008-01-03 19:18:14 +0000 |
---|---|---|
committer | Nicholas Marriott <nicholas.marriott@gmail.com> | 2008-01-03 19:18:14 +0000 |
commit | e7f68a089eec93799c098c570c03047f84638a73 (patch) | |
tree | 83a68949ccd211c366d317904299b56e34177eb1 /status.c | |
parent | ccfeb316a674370778390dc3192045fbe18113fe (diff) |
Write status across entire line.
Diffstat (limited to 'status.c')
-rw-r--r-- | status.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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 <nicm@users.sourceforge.net> @@ -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); |