From 06f3abc8509d63162c1add6026fec4a4dd49ed46 Mon Sep 17 00:00:00 2001 From: landley Date: Mon, 5 Sep 2005 05:36:15 +0000 Subject: Actually returning ret might be good. git-svn-id: svn://busybox.net/trunk/busybox@11325 69ca8d6d-28ef-0310-b511-8ec308f3f277 --- libbb/get_terminal_width_height.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'libbb') diff --git a/libbb/get_terminal_width_height.c b/libbb/get_terminal_width_height.c index ce3e83c0c..01136d414 100644 --- a/libbb/get_terminal_width_height.c +++ b/libbb/get_terminal_width_height.c @@ -38,6 +38,8 @@ int get_terminal_width_height(int fd, int *width, int *height) if (win.ws_col <= 1) win.ws_col = 80; if (height) *height = (int) win.ws_row; if (width) *width = (int) win.ws_col; + + return ret; } /* END CODE */ -- cgit v1.2.3-55-g6feb