mirror of
https://git.busybox.net/busybox
synced 2026-02-15 22:16:09 +00:00
Actually returning ret might be good.
This commit is contained in:
parent
8a7a678b03
commit
cc1669bcde
1 changed files with 2 additions and 0 deletions
|
|
@ -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 */
|
||||
|
|
|
|||
Loading…
Reference in a new issue