aboutsummaryrefslogtreecommitdiff
path: root/gdb/utils.c
diff options
context:
space:
mode:
authorDaniel Jacobowitz <drow@false.org>2007-06-13 17:08:34 +0000
committerDaniel Jacobowitz <drow@false.org>2007-06-13 17:08:34 +0000
commit0caa462c1636049cfb05fb44f1fd104c65e6d1f7 (patch)
tree3b7872884585fe4ed060850975984b8cccce15ef /gdb/utils.c
parent4de6483e79db64665134c715dd17d220ee527afb (diff)
downloadfsf-binutils-gdb-0caa462c1636049cfb05fb44f1fd104c65e6d1f7.zip
fsf-binutils-gdb-0caa462c1636049cfb05fb44f1fd104c65e6d1f7.tar.gz
fsf-binutils-gdb-0caa462c1636049cfb05fb44f1fd104c65e6d1f7.tar.bz2
* utils.c (set_screen_size): Use INT_MAX for default columns.
Diffstat (limited to 'gdb/utils.c')
-rw-r--r--gdb/utils.c2
1 files changed, 1 insertions, 1 deletions
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);