diff options
author | Rob Landley <rob@landley.net> | 2005-09-05 05:36:15 +0000 |
---|---|---|
committer | Rob Landley <rob@landley.net> | 2005-09-05 05:36:15 +0000 |
commit | cc1669bcde1fc773accaafcee4279a32bfaffd37 (patch) | |
tree | 39ec87b6f66221d74d6d66d83e13349435ce6c32 | |
parent | 8a7a678b0307f8390986f7020aea96b7927b72f4 (diff) | |
download | busybox-w32-cc1669bcde1fc773accaafcee4279a32bfaffd37.tar.gz busybox-w32-cc1669bcde1fc773accaafcee4279a32bfaffd37.tar.bz2 busybox-w32-cc1669bcde1fc773accaafcee4279a32bfaffd37.zip |
Actually returning ret might be good.
-rw-r--r-- | libbb/get_terminal_width_height.c | 2 |
1 files changed, 2 insertions, 0 deletions
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) | |||
38 | if (win.ws_col <= 1) win.ws_col = 80; | 38 | if (win.ws_col <= 1) win.ws_col = 80; |
39 | if (height) *height = (int) win.ws_row; | 39 | if (height) *height = (int) win.ws_row; |
40 | if (width) *width = (int) win.ws_col; | 40 | if (width) *width = (int) win.ws_col; |
41 | |||
42 | return ret; | ||
41 | } | 43 | } |
42 | 44 | ||
43 | /* END CODE */ | 45 | /* END CODE */ |