summaryrefslogtreecommitdiff
path: root/win32/winansi.c
diff options
context:
space:
mode:
authorRon Yorston <rmy@pobox.com>2012-04-23 10:36:01 +0100
committerRon Yorston <rmy@pobox.com>2012-04-23 10:44:16 +0100
commit9e26feebb1f6752fa21f4680a744cdc688366be5 (patch)
tree579dac199ef3f83d56933df65e96f116f5f14cca /win32/winansi.c
parentece4cb7f6debdb741b8a43053aeea817b80f49e7 (diff)
downloadbusybox-w32-9e26feebb1f6752fa21f4680a744cdc688366be5.tar.gz
busybox-w32-9e26feebb1f6752fa21f4680a744cdc688366be5.tar.bz2
busybox-w32-9e26feebb1f6752fa21f4680a744cdc688366be5.zip
win32: implement ioctl
Diffstat (limited to '')
-rw-r--r--win32/winansi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/win32/winansi.c b/win32/winansi.c
index 7730fd006..c923bde56 100644
--- a/win32/winansi.c
+++ b/win32/winansi.c
@@ -432,5 +432,5 @@ int winansi_get_terminal_width_height(struct winsize *win)
432 win->ws_col = sbi.srWindow.Right - sbi.srWindow.Left + 1; 432 win->ws_col = sbi.srWindow.Right - sbi.srWindow.Left + 1;
433 } 433 }
434 434
435 return ret; 435 return ret ? 0 : -1;
436} 436}