* utils.c (set_screen_size): Use INT_MAX for default columns.

This commit is contained in:
Daniel Jacobowitz 2007-06-13 17:08:34 +00:00
parent 4de6483e79
commit 0caa462c16
2 changed files with 5 additions and 1 deletions

View File

@ -1,3 +1,7 @@
2007-06-13 Daniel Jacobowitz <dan@codesourcery.com>
* utils.c (set_screen_size): Use INT_MAX for default columns.
2007-06-13 Ulrich Weigand <uweigand@de.ibm.com>
* remote.c (remote_protocol_features): Add qXfer:spu:read and

View File

@ -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);