diff options
author | Nicholas Marriott <nicholas.marriott@gmail.com> | 2008-06-14 18:38:55 +0000 |
---|---|---|
committer | Nicholas Marriott <nicholas.marriott@gmail.com> | 2008-06-14 18:38:55 +0000 |
commit | 0591d9ff12b29c552f7baf4c199015cfd3cbf8a9 (patch) | |
tree | 27ec1ac331b0b8418bddecbeb36a88d0cf186088 | |
parent | 0f403474aaf0f4aa4475ef6095d1ab420ebfed60 (diff) | |
download | rtmux-0591d9ff12b29c552f7baf4c199015cfd3cbf8a9.tar.gz rtmux-0591d9ff12b29c552f7baf4c199015cfd3cbf8a9.tar.bz2 rtmux-0591d9ff12b29c552f7baf4c199015cfd3cbf8a9.zip |
I'm an idiot - it is start,len not start,end. Unbreak.
-rw-r--r-- | screen-redraw.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/screen-redraw.c b/screen-redraw.c index 2c44b13d..af1c319f 100644 --- a/screen-redraw.c +++ b/screen-redraw.c @@ -1,4 +1,4 @@ -/* $Id: screen-redraw.c,v 1.6 2008-06-14 16:47:20 nicm Exp $ */ +/* $Id: screen-redraw.c,v 1.7 2008-06-14 18:38:55 nicm Exp $ */ /* * Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net> @@ -181,12 +181,12 @@ screen_redraw_area( void screen_redraw_lines(struct screen_redraw_ctx *ctx, u_int py, u_int ny) { - screen_redraw_area(ctx, 0, py, screen_size_x(ctx->s), py + ny); + screen_redraw_area(ctx, 0, py, screen_size_x(ctx->s), ny); } /* Draw set of columns. */ void screen_redraw_columns(struct screen_redraw_ctx *ctx, u_int px, u_int nx) { - screen_redraw_area(ctx, px, 0, px + nx, screen_size_y(ctx->s)); + screen_redraw_area(ctx, px, 0, nx, screen_size_y(ctx->s)); } |