diff options
author | 2013-05-13 01:41:50 -0700 | |
---|---|---|
committer | 2013-05-13 01:41:50 -0700 | |
commit | c80bd104d23513cc26f29fe44fae55e2f8d6cc50 (patch) | |
tree | 95bb6d32e0217ef89c9ec92676460a30bad80923 /fish_pager.cpp | |
parent | 22d1aaa27dbbfc56dca0e31e1ecbcd7db03f322c (diff) |
Add errret param to other calls to setupterm
Diffstat (limited to 'fish_pager.cpp')
-rw-r--r-- | fish_pager.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fish_pager.cpp b/fish_pager.cpp index fac70497..2e1a4bba 100644 --- a/fish_pager.cpp +++ b/fish_pager.cpp @@ -1069,8 +1069,8 @@ static void init(int mangle_descriptors, int out) exit(1); } - - if (setupterm(0, STDOUT_FILENO, 0) == ERR) + int errret; + if (setupterm(0, STDOUT_FILENO, &errret) == ERR) { debug(0, _(L"Could not set up terminal")); exit(1); |