From 0caa462c1636049cfb05fb44f1fd104c65e6d1f7 Mon Sep 17 00:00:00 2001 From: Daniel Jacobowitz Date: Wed, 13 Jun 2007 17:08:34 +0000 Subject: * utils.c (set_screen_size): Use INT_MAX for default columns. --- gdb/utils.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gdb/utils.c') diff --git a/gdb/utils.c b/gdb/utils.c index e1fb9ed..6f3719a 100644 --- a/gdb/utils.c +++ b/gdb/utils.c @@ -1633,7 +1633,7 @@ set_screen_size (void) rows = INT_MAX; if (cols <= 0) - rl_get_screen_size (NULL, &cols); + cols = INT_MAX; /* Update Readline's idea of the terminal size. */ rl_set_screen_size (rows, cols); -- cgit v1.1