summaryrefslogtreecommitdiff
path: root/programs/xterm/screen.c
diff options
context:
space:
mode:
authortsi <tsi>2003-05-28 14:03:50 +0000
committertsi <tsi>2003-05-28 14:03:50 +0000
commit7b6bfad8da9c8ac4639d756295ad06dfbb028a64 (patch)
tree7636865af9be00f44b587a54cd33633467d009ce /programs/xterm/screen.c
parenta293124a36663d59903f71e3f36794888216d26d (diff)
Fix up previous change
Diffstat (limited to 'programs/xterm/screen.c')
-rw-r--r--programs/xterm/screen.c9
1 files changed, 5 insertions, 4 deletions
diff --git a/programs/xterm/screen.c b/programs/xterm/screen.c
index 9bf8314d1..bdb6580eb 100644
--- a/programs/xterm/screen.c
+++ b/programs/xterm/screen.c
@@ -54,7 +54,7 @@
* SOFTWARE.
*/
-/* $XFree86: xc/programs/xterm/screen.c,v 3.61tsi Exp $ */
+/* $XFree86: xc/programs/xterm/screen.c,v 3.62 2003/05/27 22:27:12 tsi Exp $ */
/* screen.c */
@@ -1128,7 +1128,7 @@ ScreenResize(TScreen * screen,
int height,
unsigned *flags)
{
- int rows, cols;
+ int code, rows, cols;
int border = 2 * screen->border;
int move_down_by;
#ifdef TTYSIZE_STRUCT
@@ -1263,8 +1263,9 @@ ScreenResize(TScreen * screen,
ts.ws_xpixel = width;
ts.ws_ypixel = height;
#endif
- TRACE(("return %d from SET_TTYSIZE %dx%d\n",
- SET_TTYSIZE(screen->respond, ts), rows, cols));
+ code = SET_TTYSIZE(screen->respond, ts);
+ TRACE(("return %d from SET_TTYSIZE %dx%d\n", code, rows, cols));
+ (void)code;
#if defined(SIGWINCH) && defined(USE_STRUCT_TTYSIZE)
if (screen->pid > 1) {