file: Update from 5.32 to 5.33
[termux-packages] / packages / ncurses / ncurses-tinfo-lib_setup.c.patch
1 diff -u -r ../src-patched/ncurses/tinfo/lib_setup.c ./ncurses/tinfo/lib_setup.c
2 --- ../src-patched/ncurses/tinfo/lib_setup.c 2015-07-11 10:03:50.340357853 -0400
3 +++ ./ncurses/tinfo/lib_setup.c 2015-07-11 14:42:01.049867165 -0400
4 @@ -352,21 +352,6 @@
5 _nc_setenv_num("COLUMNS", *colp);
6 }
7 }
8 -
9 - /*
10 - * Finally, look for environment variables.
11 - *
12 - * Solaris lets users override either dimension with an environment
13 - * variable.
14 - */
15 - if ((value = _nc_getenv_num("LINES")) > 0) {
16 - *linep = value;
17 - T(("screen size: environment LINES = %d", *linep));
18 - }
19 - if ((value = _nc_getenv_num("COLUMNS")) > 0) {
20 - *colp = value;
21 - T(("screen size: environment COLUMNS = %d", *colp));
22 - }
23 }
24
25 /* if we can't get dynamic info about the size, use static */