diff options
author | Nicholas Marriott <nicholas.marriott@gmail.com> | 2007-11-24 18:09:59 +0000 |
---|---|---|
committer | Nicholas Marriott <nicholas.marriott@gmail.com> | 2007-11-24 18:09:59 +0000 |
commit | 112f4d9f607f31d52bc63321f3bd7fdfcb0ced6d (patch) | |
tree | 308f656b8839231824ad5ef05f1b43efebf692f8 /server-fn.c | |
parent | d03e7299046a68c411530d2898cb653b4a90fcf6 (diff) |
Don't stop until after everything else done.
Diffstat (limited to 'server-fn.c')
-rw-r--r-- | server-fn.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/server-fn.c b/server-fn.c index 2cec2272..afbbded2 100644 --- a/server-fn.c +++ b/server-fn.c @@ -1,4 +1,4 @@ -/* $Id: server-fn.c,v 1.32 2007-11-24 17:58:45 nicm Exp $ */ +/* $Id: server-fn.c,v 1.33 2007-11-24 18:09:59 nicm Exp $ */ /* * Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net> @@ -354,7 +354,6 @@ server_write_message(struct client *c, const char *fmt, ...) for (i = strlen(msg); i < c->sx; i++) input_store8(c->out, ' '); xfree(msg); - screen_draw_stop(&ctx); size = BUFFER_USED(c->out) - size; hdr.type = MSG_DATA; @@ -373,7 +372,8 @@ server_write_message(struct client *c, const char *fmt, ...) window_draw(w, c->out, screen_last_y(&w->screen), 1); else status_write(c); - + screen_draw_stop(&ctx); + size = BUFFER_USED(c->out) - size; hdr.type = MSG_DATA; hdr.size = size; |