summaryrefslogtreecommitdiff
path: root/client/birdc.c
diff options
context:
space:
mode:
authorOndrej Zajicek <santiago@crfreenet.org>2013-11-20 13:25:33 +0100
committerOndrej Zajicek <santiago@crfreenet.org>2013-11-20 13:25:33 +0100
commit4d4979c67c65dceb1ae557707312b83fde4bc8a8 (patch)
tree066e63e8d0942e67b3b4438ba1a1af6f23525ed7 /client/birdc.c
parent33be3ba713901befe2df651b869a406df8fc8ace (diff)
Fixes some potential issues with invalid term size in clients.
Diffstat (limited to 'client/birdc.c')
-rw-r--r--client/birdc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/client/birdc.c b/client/birdc.c
index 9dd6d9b9..bbe18331 100644
--- a/client/birdc.c
+++ b/client/birdc.c
@@ -148,8 +148,8 @@ input_init(void)
rl_callback_handler_install("bird> ", input_got_line);
// rl_get_screen_size();
- term_lns = LINES ? LINES : 25;
- term_cls = COLS ? COLS : 80;
+ term_lns = LINES;
+ term_cls = COLS;
prompt_active = 1;