typo fix
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
This commit is contained in:
parent
8da415ef25
commit
a04440ccad
@ -234,7 +234,7 @@ static int wh_helper(int value, int def_val, const char *env_name, int *err)
|
|||||||
char *s = getenv(env_name);
|
char *s = getenv(env_name);
|
||||||
if (s) {
|
if (s) {
|
||||||
value = atoi(s);
|
value = atoi(s);
|
||||||
/* If LINES/COLUMNS are set, pretent that there is
|
/* If LINES/COLUMNS are set, pretend that there is
|
||||||
* no error getting w/h, this prevents some ugly
|
* no error getting w/h, this prevents some ugly
|
||||||
* cursor tricks by our callers */
|
* cursor tricks by our callers */
|
||||||
*err = 0;
|
*err = 0;
|
||||||
|
Loading…
Reference in New Issue
Block a user