* utils.c (set_screen_size): Use INT_MAX for default columns.
This commit is contained in:
parent
4de6483e79
commit
0caa462c16
|
@ -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>
|
2007-06-13 Ulrich Weigand <uweigand@de.ibm.com>
|
||||||
|
|
||||||
* remote.c (remote_protocol_features): Add qXfer:spu:read and
|
* remote.c (remote_protocol_features): Add qXfer:spu:read and
|
||||||
|
|
|
@ -1633,7 +1633,7 @@ set_screen_size (void)
|
||||||
rows = INT_MAX;
|
rows = INT_MAX;
|
||||||
|
|
||||||
if (cols <= 0)
|
if (cols <= 0)
|
||||||
rl_get_screen_size (NULL, &cols);
|
cols = INT_MAX;
|
||||||
|
|
||||||
/* Update Readline's idea of the terminal size. */
|
/* Update Readline's idea of the terminal size. */
|
||||||
rl_set_screen_size (rows, cols);
|
rl_set_screen_size (rows, cols);
|
||||||
|
|
Loading…
Reference in New Issue