commit | 7c62692d430af7313d52257895cfa8298676b6f6 | [log] [tgz] |
---|---|---|
author | Bram Moolenaar <Bram@vim.org> | Mon Feb 07 22:01:03 2005 +0000 |
committer | Bram Moolenaar <Bram@vim.org> | Mon Feb 07 22:01:03 2005 +0000 |
tree | e29d1348de49aa33b8423ed2290002e39c7a0d1c | |
parent | f97ca8f0665f4604f7778ea709573d920ab83240 [diff] [blame] |
updated for version 7.0049
diff --git a/src/os_unix.c b/src/os_unix.c index 4dd38ce..c09638f 100644 --- a/src/os_unix.c +++ b/src/os_unix.c
@@ -3222,8 +3222,9 @@ /* * 2. get size from environment + * When being POSIX compliant this overrules the ioctl() values! */ - if (columns == 0 || rows == 0) + if (columns == 0 || rows == 0 || getenv("VIM_POSIX") != NULL) { if ((p = (char_u *)getenv("LINES"))) rows = atoi((char *)p);